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 3 months of free hacker plan with this code: csdojo (claim it at https://replit.com/claim)
The two videos I mentioned:
The one about why you might want to switch from Webpack to Vite: https://youtu.be/KuhpEe3i2qQ
The one about coding bootcamps: https://youtu.be/eOfjNxUANJ0
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
#python #selenium