It’s been ridiculously hot in Vancouver recently, and it’s almost impossible to find ACs.
So I wrote a simple Python script (with Selenium) to check if any AC’s are available at Best Buy every 5 minutes and mention me on Slack when there is one.
The starter code: https://replit.com/@ykdojo/scraping-ac-starter#main.py
The complete code: https://replit.com/@ykdojo/scraping-ac-complete#main.py
A doc about always-on on Replit: https://docs.replit.com/hosting/enabling-always-on
You can get 2 months of free hacker plan with this code: csdojo2 (claim it at https://replit.com/claim)
Follow me on Twitter for more content: https://twitter.com/ykdojo
This video might be a good reference to check how to set up your own Slack bot: https://www.youtube.com/watch?v=KJ5bFv-IRFM