Writing a Python Script to Check If Any ACs Are Available Every 5 Minutes

preview_player
Показать описание
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 two videos I mentioned:

Рекомендации по теме
Комментарии
Автор

Long time no see everyone! haha



EDIT - clarification:

I turned off the notification of that channel so I won't be notified every time the bot sends a message. I'll only be pinged when there's a mention.

I chose to send a message every time anyway just to make it easier to make sure the bot's still working.

CSDojo
Автор

This was awesome man! A lot more clean code than when I do projects haha

Hallden_
Автор

just passed my data structures and algorithms class!!!!

erikawwad
Автор

I was asked why I'm letting the bot spam Slack every time, and here's my answer:

I turned off the notification of that channel so I won't be notified every time the bot sends a message. I'll only be pinged when there's a mention.

I chose to send a message every time anyway just to make it easier to make sure the bot's still working.

CSDojo
Автор

I know it's a bit of a silly project, but you're teaching some very valuable python skills here! I hope you continue to post regularly to this channel again!

ddibbles
Автор

Nice video! I was playing with selenium on Replit a bit the other day works really well. I could see this video helping people set up a lot of projects like checking for the availability of GPUs or PS5s. You know the important stuff...

ClarityCoders
Автор

Some of the best and most inspirational CS content.

dddonehoo
Автор

Just now realised, I'm so early 🤣! I
Always love CS Dojo ❤️

kailashrajendran
Автор

Great content as always! Hope you upload more!

ermalgashimramori
Автор

Welcome back! I've actually been wondering how to do something like this on discord. Thank you!

DontSnowMe
Автор

He is extremely good teaching, in every single video, i dont get confused "never", keep it 👏👏👏👏

karenyanza
Автор

U make so detailed python tutorials and it's helping me out a lot u are the best bro

c.allmebro
Автор

Thanks for all the efforts you've taken for us!

themarvelgirl
Автор

Honestly speaking yesterday thinking about ut Frequency of ur videos and yah here u are .

macx
Автор

These videos continue to inspire me. Thank youuuu 🥺

cookieandcream
Автор

The reason for the error is probably because the element has become stale in the Dom, ie its looking for the element before the page is actually in a ready state, also an easier way to locate that element would be to use xpath and locate via class contains and the text.

harrypulsford
Автор

BRUH, YOURE STILL ALIVE! I WATCHED YOUR OLD VIDEOS LAST MOTNH

brianbrian
Автор

I love your way of teaching..thank you so much for teaching us the easiest way possible!

krypton
Автор

Good ! I am a professional webscraper on Fiverr. But it's all because of you. Thank you for making excellent videos ❤️

Hey, if you can please make a course on django.
Thank you

samyaksanghvi
Автор

Just wanna say thanks you. Your video is great

hoango