Long time no see everyone! haha If you have any questions or just want to chat, feel free to join my Discord server here: csdojo.io/d 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.
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.
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!
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.
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...
To scrape dynamic oages with BS4 or Requests You'll need to first find the xhr on the page.. chrome dev tools is the best way to do this.. then you can just do get requests on those xhrs and you'll get your data
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
I was feeling depressed, I haven't had enough motivation to do anything lately, but this video has given me motivation to do a similar bot and thanks to your tutorials I'm gonna be able to do it :D Thank you very much
you are a wonderful person, thank you for sharing the useful information. I'm learning about AI, looking forward to finding youtubers like you. Everyone who studies AI, do you know any other useful youtuber channels? thanks a lot .
refeshing the page in selenium works worse than loading it again for whatever reason, also it's better to use explicit polling with WebDriverWait, then there are switches to make your page load significantly faster
I feel like someone would be willing to take a cashapp for the product and shipping cost to send you one, only problem would be how long it takes crossing the border the heatwave might be over before it reaches you. Cool code though.
This is insane CS Dojo if you don't mind then I want to ask this.... (1) Which language you started first to learn coding? (2) From which platform you learned it ? Please reply me on this comment!
hi im new to coding just wanna ask cause i cant find soluttion how do i print a string and a int or float together cuase when i print a int and str together it becomes error so i have to separate them
I have seen all your videos on how and what you should learn first. But I’m in a situation that I can’t find enough time because I study Mathematical Statistics and now I have a chance to get a job but they prefer c++ to learn first also I’m studying c++ in my university now so I just want to know what is the best I can choose for now
Does anyone know how to make your code change the second time you run it? For example: If you run your code once it says Hello. Then if you run it again it says Whats up.
I did the same as you, unfortunately I get the following error message when I run the second part of the code: Traceback (most recent call last): File "main.py", line 18, in client = slack.WebClient(token=os.environ['slack_token']) AttributeError: module 'slack' has no attribute 'WebClient'
How can I run my python script indefinitely? Most probably by using some cloud hosting service for running scripts but what kind would be best for running these kind of python bot scripts?
You probably already thought about it but why not let the bot ping you when the text says "is available" rather than spamming yourself with "not available" messages.🤷🏻♂️
Long time no see everyone! haha
If you have any questions or just want to chat, feel free to join my Discord server here: csdojo.io/d
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.
Good morning sir. I'm from India 🇮🇳. Today is Teachers Day for us. So I wish you a Happy Teachers Day Sir 😊. You teaches us coding very well sir.
Javascript, html and css tutorial please. ....i am from Bangladesh..
best
This was awesome man! A lot more clean code than when I do projects haha
Haha thanks!!
hey kalle
God eftermiddag Kalle
Hey Kalle, ur videos on automation are cool too
Hi dude.
just passed my data structures and algorithms class!!!!
Congrats
@@Asuna-chu thank you
Hi Erik where did you learn data structures and algorithms can you suggest where to learn and regarding which Language you completed DS,and algorithms
Which school ? Online ?
Great man
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.
I asked that question on your discord.
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!
Just now realised, I'm so early 🤣! I
Always love CS Dojo ❤️
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.
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...
Some of the best and most inspirational CS content.
To scrape dynamic oages with BS4 or Requests
You'll need to first find the xhr on the page.. chrome dev tools is the best way to do this..
then you can just do get requests on those xhrs and you'll get your data
Welcome back! I've actually been wondering how to do something like this on discord. Thank you!
Great content as always! Hope you upload more!
THE GOAT IS BACK
He is extremely good teaching , in every single video , i dont get confused "never" , keep it up!!!!!! 👏👏👏👏
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
Finally you're back ...
U make so detailed python tutorials and it's helping me out a lot u are the best bro
Thanks for all the efforts you've taken for us!
I was feeling depressed, I haven't had enough motivation to do anything lately, but this video has given me motivation to do a similar bot and thanks to your tutorials I'm gonna be able to do it :D
Thank you very much
These videos continue to inspire me. Thank youuuu 🥺
I want to learn coding so I can do Cyber security so I am try to learn as much coding tips as possible so thank you for the vidz
Honestly speaking yesterday thinking about ut Frequency of ur videos and yah here u are .
Great video as always!
I love your way of teaching..thank you so much for teaching us the easiest way possible!
you are a wonderful person, thank you for sharing the useful information. I'm learning about AI, looking forward to finding youtubers like you. Everyone who studies AI, do you know any other useful youtuber channels? thanks a lot .
These videos keep me inspired 💙 Tysm
BRUH, YOURE STILL ALIVE! I WATCHED YOUR OLD VIDEOS LAST MOTNH
Just wanna say thanks you. Your video is great
Just tarted learning, this looks so advanced and complicated
hi man i love all your video it help me a lot to learn python and others
i have a question what software do you use for programing?
refeshing the page in selenium works worse than loading it again for whatever reason, also it's better to use explicit polling with WebDriverWait, then there are switches to make your page load significantly faster
Wow this is so cool! Great tutorial!
YK is back... Awesome
Wow yk you're back!
Welcome back buddy :)
Happy to see you..😊
yay, you are back!
Why u post so rarely bro? Such useful projects! Make more asap
I didn't know you were in Vancouver! I can confirm it is unbearably hot.
I feel like someone would be willing to take a cashapp for the product and shipping cost to send you one, only problem would be how long it takes crossing the border the heatwave might be over before it reaches you. Cool code though.
Nicely explained, thanks.
waiting for your javascript tutorials for beginner! I'm interested in javascript to being a web developer!
Your videos are so helpful for me. Thank you ever so much
Great ♥️ after watching this my motivation in programming is grew
This is insane CS Dojo if you don't mind then I want to ask this....
(1) Which language you started first to learn coding?
(2) From which platform you learned it ?
Please reply me on this comment!
I think I talk about all of those here: czcams.com/video/mElVGah7Epg/video.html
Thank you brother
Dude do you know source 2 programming or coding language? Because we are modding a game. Retexturing it and adding more items.
Man you are good teacher, can you please provide full beginner course for Python I am really understanding when you teach me those basic Python
_print('refreshing...')_
I see what you did there 😊
Awesome. Thanks for the channel. You do any live streams and when?
No I don't really do live streams
This is timely stuff!!
This is amazing 👍
Amazing!
And some says that you can do such a thing in Python...
hi im new to coding just wanna ask cause i cant find soluttion how do i print a string and a int or float together cuase when i print a int and str together it becomes error so i have to separate them
hello do you know if it it possible to use spyder for doing that? Because i get this when i enter the code on spyder No module named 'selenium'
What should I choose between B.tech Cse with specialization in ai/ml engineering and B.tech Cse with specialization in data science?
I have seen all your videos on how and what you should learn first. But I’m in a situation that I can’t find enough time because I study Mathematical Statistics and now I have a chance to get a job but they prefer c++ to learn first also I’m studying c++ in my university now so I just want to know what is the best I can choose for now
Does anyone know how to make your code change the second time you run it? For example: If you run your code once it says Hello. Then if you run it again it says Whats up.
my fav youtuber heh
i miss your videos ! come back to the youtube man
My idol cs dojo
Take my love
I would `copy as fetch` from the request that gets whether the order is available. Then I would do a setInterval using that fetch.
How to change the slack to email? I want to use this code please
I did the same as you, unfortunately I get the following error message when I run the second part of the code: Traceback (most recent call last):
File "main.py", line 18, in
client = slack.WebClient(token=os.environ['slack_token'])
AttributeError: module 'slack' has no attribute 'WebClient'
Did you run pip install slackclient?
Did you install slackclient using pip install?
@@pranavi1949 Yes I did, even pip 3 install slackclient
@@SciencesEducationDE Is your bug resolved? If yes please let me know how to resolve it.
Pretty Good
I love the vids
result = 10//3 # Result: 3
result = -10//3 # Result: -4
why when one of operand is -ve result change as above?
Sir plz about when we learn python next steps for career
I live in georgia in the us so i already have ac but nice video
Can Zoe make a video where you show how to make a wepsite plis
Great video 👍 GitHub Co Pilot is a bit scary ? Web Developer jobs could be gone in 3 years time 😞
hmm honestly hard to tell 😅
Hello sir...
How do i improve my coding in 30 days for competitive coding...... I have been trying but not able to do code properly...
Hello what code editor you used?
ahhahaah Cool coding! Did you finally get your AC?
Hey man why you posts so less videos these days
I really miss you
What about those clases that changes everytime? I think it's anti scrapping technique used by some owner.
Hmm that might be kind of tricky to deal with. You might want to select things based on text in that case, then.
Is there a chance that you might be interested in corroborating on a new project?
How can I run my python script indefinitely? Most probably by using some cloud hosting service for running scripts but what kind would be best for running these kind of python bot scripts?
I think Replit + always on is pretty good as I mentioned in the video and description
AWS or data science what to choose
Hmm not sure. You might want to try asking on Discord: csdojo.io/d
Can we use request instead of selenium
Plzz help.....
You could try!
I followed you on linked in lol
does anyone know a site for scripts like this?
Good Morning
He have plenty in FL, ill ship you one lol
damn i dont know even the half of half of what you know but I hope I can be as good as you one day
I'm so fast flash didn't see me coming.
Cool
good
Upload moreeeeee
But aren’t there like anti bot scripts on best uy
Clearly not 🤣
@@CSDojo I just know theres a whole market for bestbuy bots. Checkout botbroker . io lol
This isn't a bot per say it is just web scraping. The Anti Script checks if a bot host is on the site not we bscraping
Hi cs-dojo. Can you please continue teach python. I'm new an I learn most skill from you.
He has a python playlist check it out
You probably already thought about it but why not let the bot ping you when the text says "is available" rather than spamming yourself with "not available" messages.🤷🏻♂️
I believe that was just for the sake of showing how messaging without pings works
It's basically just to make sure that the script is still working haha
@@CSDojo fair enough😊
I dont think the parent container will be unique as it has random characters at the end of the string
Did you try it?
@@CSDojo no im just assuming they will change once a new build is deployed but i could be wrong
good job bro!
Hey bro please I request to you , tell me that did you have a computer science degree
YT algorithm boost
Please teach us c++ programming language please:)
You are very handsome. Thank you for this video. Very creative. 😊
I know this comment don't belong here
But can you make videos on c++
Or recomend some if you know some good ones
Why doesn't the free replit code not work? rip :(
What's the error message you got?
@@CSDojo It says that “this voucher has already been redeemed”, but I haven’t yet redeemed it 🤷♂️
@@CSDojo also good to have you back man 💪💯
@@mythicalpg3d444 Hmm weird. Do you mind emailing me at yksu@replit.com with your Replit username so I can take a look? And thanks!
@@CSDojo no problem!