Scrap current Covid-19 world situation from Worldometers or the Spanish Government Covid-19 official website, and send all the information obtained by email.
-
Clone this repository.
-
Open VirusScrapper.ipynb using Jupyter Notebook or Google Colab.
-
Setup your Gmail parameters. Change *** with your personal account information (sender email + correspondent password, receiver email).
password = '***' msg['From'] = '***' msg['To'] = '***'
-
Execute
Inside "MyAccount" > "Sign-in & security" > "Connected apps & sites" > "Allow less secure apps"
More info here: https://www.arclab.com/en/kb/email/how-to-enable-imap-pop3-smtp-gmail-account.html
Note: if you copy and paste all the code in a .py extension file, you can manage your cronjobs to run the script periodically. I currently do this using a Google Cloud VM Instance.