Building a scraper to get info from a website like BookMyShow and notifying on changes - SMS, telegram etc.
- Get data from BookMyShow or PayTM
- Cron job
- Sending alerts
- Find the API that gives us that info. We can then use that endpoint to detect any changes. (this is the simplest way)
- If API isn't possible, we'll have to scrape the website. (a bit more complex, but we can figure it out)
Find a way to execute our code periodically to check for changes.
We need a server that can host our code, needs to be on always.
Possible ways:
- Put it on your machine and keep the laptop on (simplest)
- Use an online hosting service - Replit, Catalyst etc.
โ๏ธDecision: We can use Catalyst since it's free and provides the CRON out of the box.
What ways are possible?
SMS, Telegram, Whatsapp, Cliq, Mail
- Find API to get data
- If no API, write code to scrape it
- Set up cron job
- Set up notification