How to create a Python Bot to auto-buy a GPU using Selenium Easily!

preview_player
Показать описание
In this video, I will teach you how you can create an auto-checkout, auto-buying bot using Python and Selenium to buy the latest Nvidia RTX 3060, RTX 3070, RTX 3070TI, RTX 3080, RTX3080ti, RTX 3090 GPUs, which nowadays are nearly impossible to buy.
I show you how to create a bot to complete the checkout in the Newegg website. But you can also adapt the code to auto-buy from the Amazon website as well. Or any other website will also work.
You also can buy any item you can think of.

✅ Recommended Courses
(Includes Amazon Affiliate Links)
==================================

✅ Recommended Playlists
==================================

✅ My Favorite Tech
(Includes Amazon Affiliate Links)
==================================

✅ My RTX 3070 and Ryzen 5900 Machine Learning PC Build
(Includes Amazon Affiliate Links)
=======================================================

✅ MY EQUIPMENT FOR YOUTUBE
(Includes Amazon Affiliate Links)
==================================

As an Amazon Associate, I earn a small commission from qualifying purchases on the amazon links above.

✅ Article

✅ BUSINESS ENQUIRIES

✅ SUPPORT THE CHANNEL or get MENTORING

✅ FOLLOW ME

✅ Timestamps:

0:00 Introduction
1:30 Installing Anaconda
2:19 Add Anaconda3 to PATH variable
2:38 Creating a new Anaconda environment for our Python bot
3:30 Installing Selenium and python-chromedriver with Conda
4:38 Installing JupyterLab
5:30 Opening a window with wd.Chrome()
9:00 Starting checkout
15:00 Putting the code altogether for the checkout

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

You either die a hero or live long enough to become the villain...

Kuazzy
Автор

I'm ashamed of myself but this is the only way now lol

ed-yqnf
Автор

I rarely comment on videos but felt the need to thank you for this tutorial. This is my 10th video on the subject and felt this one helped me understand the creation process best. I work in tech but not a coder but aspiring to do so, i am going to work on this project and hope I can get a gpu after being on the waiting list for 7 months. Keep the content coming!

maximusdecimus
Автор

Thx a lot, I know that this kind of code has become infamous but as not a scalper but someone that really needs a gpu for his system to run well (my current gpu has given me a lot of problems and is a very old gpu) I really appreciate that you make it simpler for people to understand these matters and how to make a bot :3

germanrojasleon
Автор

I am at the point that I need this just to finally build my first ever PC

Update : i managed to get a 3070 Ti with a discord alert server !

PatatexJokrZ
Автор

Amazing tutorial. The best I've seen on the subject. Thank you very much!

IMorenoI
Автор

I don't know anything about coding but I am eager to learn! Your videos are so helpful! Thank you

amraevers
Автор

I scored an Asus Strix 4090 with my own variation of this. I modified this to run very fast in the checkout. I had no issues with bans or anything. I also made it refresh every 3 seconds BUT I only ran it just before the cards launched at 5:59am (cards launched at 6:04am). I understand you probably made it so slow because you don't want to be responsible for getting people banned from Newegg. Even so this was a great starting point! Thanks!

LaKillingFrenzyy
Автор

great tutorial, well explained. Appreciate your time and knowledge. Thank you my friend!

Schmickler
Автор

Thank you for this very useful video! I will try adapt this with my future shoes!

jlerts
Автор

What do you do when the button says "Not avialable right now" and you want the script to check if its green(or available) and press on it once it turns green(or available or where it redirects you to another site like on the nvidia site for the Founders Edition cards)

crime
Автор

This video is awesome!! Thank you for the content!!

jeremygonzalez
Автор

I wanted to try this but do I have to find the product in stock on the site I want to use first? Or can I pick any item on the site and go thru the checkout process and just keep the original product url? I mean if I had to find the product in stock first what would be the point lol. I ask because there is no add to cart options when its not in stock. Another thing is sometimes they randomly raise the price way high, what if that happens and dont want it at an extra $500 lol.

ripsaw
Автор

So to put it all together, are you looking for a Status = "Available" (in your check in stock script) then you could grab the URL and run this auto-checkout script on that URL? Also how are you running these scripts on a timer? Amazing video, just looking to put it all together!

MrCarlsonWang
Автор

Thank you for posting this. This should make it more difficult for a hole scalpers to sell their items.

EchoYankee
Автор

hey will this buy one every time or will I have to block it after a "happy run"
and how would one block it after a "happy run"

lucaspetty
Автор

when I get to pasting the link and trying to run it, it gives me an error and says "WebDriverException: Message: chrome not reachable" how do i fix this?

shotemup
Автор

One question, how can we do the same for the nvidia page if we cannot proceed with buying in that store (because its not available), what modifications would we have to do.

patricknnt
Автор

How do you have the script check if the purchase was successful so that it prevents it from buying multiple in the event of attempting to loop something like this until it succeeds?
With Newegg I believe once it's in your cart you have time to purchase but some websites allow it to go out of stock during the purchase process and then it errors at the end. So would be nice to check for that sort of error and have a verification once purchase is successful to break a loop of attempted purchase. If that makes sense?

bonzegrinder
Автор

@CODE MENTAL
i work from a mac and i am stuck at 5:47. It gives an error and i do not know how to solve it. Because nothig pops out and if i start again the same, i get the same error.

veniaminpuzynin