CoViD-19 Notifier
This Project fetch the Real Time CoViD-19 status of India from Ministry of Health and Family Welfare Website and display it as Notification to user. Since, the data is from MOHFW, thus doubts regarding accuracy doesn't exists i.e it is 100% accurate as per the Government and it's affiliated Agencies who manage this Issue.
To run this Project please follow these steps
- Open command prompt or powershell window.
- Type this command
git clone https://github.com/YashasviBhatt/CoViD-19_Notifier
and press enter. Go inside the Cloned Repository folder and open command-prompt or powershell window.
Type
pip install -r requirements.txt
and press enter in either command_prompt or powershell window as administrator.After Installing all the required libraries execute the program
python CoViD_19_Notifier.py.If you would like to see the data which showed up then open data.csv file.
Working
- Firstly, we have created a function named as
notifyMe(title, message)which will generate a notification withtitleandmessagepassed asarguments. - Secondly, we have created a function named as
getData(url)which will fetch the data from url and returns the text it extracted from url. - Now, we have parsed the website of Ministry of Health and Family Welfare
using
Beautiful Soup HTML Parser. Beautiful Soupparse the website and generate a parse tree for parsed pages, thus this parse tree is then used for data extraction.- After parsing the Website we have extracted the useful/required data using several
Beautiful Soupfeatures and passed them tonotifyMe(title, message)as arguments, which will lastly generate notification.

