Vaccine slot tracker which crawls https://www.cowin.gov.in/home to find available slots.
Add a secrets.env with format - Follow this guide to setup your gmail account to send emails programatically - https://realpython.com/python-send-email/#option-1-setting-up-a-gmail-account-for-development
GMAIL_ADDRESS=<Your-email>
GMAIL_APP_PASSWORD=<Your-email-password>
If you turn less secure apps off, you can directly use your GMAIL password in GMAIL_APP_PASSWORD
.
Otherwise create an app password and use that (https://myaccount.google.com/apppasswords)
Build the docker image:
docker build -t vaccine-notifier .
Start vaccine notifier:
docker run --env-file secrets.env vaccine-notifier "Madhya Pradesh" Indore --email-address [email protected]
docker run vaccine-notifier -h