It polls bookmyshow every 15s to check for update. It is setup to be deployed on heroku.
To follow the steps you need a Heroku account and Heroku CLI.
Following changes are required:
-
In notify-endgame.py, fill in the following details of a gmail account.
sender_email = any_gmail_id password = its_pass
-
In reciever.txt , add emails which have to be notified for the booking.
Follow the steps below to deploy it on heroku.
- Clone this repo and push code to heroku.
git clone https://github.com/gyanesh-m/notify.endgame.git
cd notify.endgame
git init
heroku create
git push heroku master
- Spawn a worker to start the task.
heroku ps:scale worker=1
To view logs, type
heroku logs