Python Coronavirus Notifier is a python tool that scours the web for coronavirus information and deliers it to your email.
This project utilizes BeautifulSoup4 for webscraping
This project utilizes the Twilio's SendGrid API for email handling
This project is very work in progress, there are known issues and improvements on the roadmap for better and easier usage
- Download the Github repository
- Install the necessary libraries (Check below)
- Populate config.txt
Use the package manager pip to install BeautifulSoup4.
pip install beautifulsoup4install requests.
pip install requestsinstall the sendgrid python library.
pip install sendgridUse the package manager pip to install [BeautifulSoup4]
python -m pip install beautifulsoup4install requests
python -m pip install requestsinstall the sendgrid python library.
python -m pip install sendgridINSERT_COUNTRY_HERE
INSERT_EMAIL_HEREInside of config.txt, you will find these two items which need to be swapped out. Please make sure that the first row has your country of choice and the second, your email address
python scraper.pyalthough automated usage of script is possible via python this isn't ideal in comparison to first party utilities found in both Macos and Windows, tutorials on how to schedule a python script on both platforms can be found here
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
- Reliability Improvements for national data
- Web hosting instead of local installation
- HTML stylized emails
- This utility sometimes encounters an error when instead of picking up national statistics, it picks up the title for a news article in relation to the country and coronavirus, in a sample of 30, the issue was replicated 7 times, a fix for this issue is in the works