gyanesh-m / notify.endgame

It polls bookmyshow website every 15s to check for release of avengers endgame.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notify endgame

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.

Setup

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.

Usage

Follow the steps below to deploy it on heroku.

  1. 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
  1. Spawn a worker to start the task.
heroku ps:scale worker=1

To view logs, type heroku logs

About

It polls bookmyshow website every 15s to check for release of avengers endgame.

License:MIT License


Languages

Language:Python 100.0%