You either die a hero or live long enough to become the villain...
@CODEMENTAL3 жыл бұрын
Are you quoting from "Walking Dead" ?
@Kuazzy3 жыл бұрын
@@CODEMENTAL pretty sure it’s from Batman two face, but I was just joking about how I’m about to become the scalper after not being able to get a card for so long
@CODEMENTAL3 жыл бұрын
@@Kuazzy Hope you get one. Good luck!
@Kuazzy3 жыл бұрын
@@CODEMENTAL thanks man, great tutorial, honestly just doing this for fun and the coding part, but gonna try it out
@NaxoR933 жыл бұрын
@@CODEMENTAL It's from Batman The Dark Knight haha
@ed-yq4nf3 жыл бұрын
I'm ashamed of myself but this is the only way now lol
@ufukakkoyun69693 жыл бұрын
Did u try my nigga?
@wehttam_12 жыл бұрын
Same
@henryg23502 жыл бұрын
You feel naughty???
@maximusdecimus23503 жыл бұрын
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!
@CODEMENTAL3 жыл бұрын
Glad it was a helpful video. I really hope you get your graphic card. Good luck
@richarddelgado62803 жыл бұрын
Were you able to get a GPU using his method?
@GoneFisting693 жыл бұрын
Update!
@BlackPanther-ks6fb2 жыл бұрын
Did you get it using this code after 7 months? I'd take 'no answer' for a no.
@HonkyTonkFishTankАй бұрын
Any update on your journey through tech?
@PatatexJok3rZ3 жыл бұрын
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 !
@squidoodalee3 жыл бұрын
Same, and Im ashamed of it
@PatatexJok3rZ3 жыл бұрын
Update : I finally scored a 3070 Ti recently !
@squidoodalee3 жыл бұрын
@@PatatexJok3rZ must be noice, may I asked how u snagged one?
@PatatexJok3rZ3 жыл бұрын
@@squidoodalee a Canadian Stock Radar Discord Channel
@squidoodalee3 жыл бұрын
@@PatatexJok3rZ thx
@LaKillingFrenzyy2 жыл бұрын
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!
@CODEMENTAL2 жыл бұрын
Nice!
@syn77312 жыл бұрын
How did you get a add to cart before tbefore they launched?? If you could help me out I would much appreciate it.
@lipnoodle1172 жыл бұрын
5:59AM in what timezone?
@LaKillingFrenzyy2 жыл бұрын
@@lipnoodle117 That was just when retailers were allowed by Nvidia to actually start selling the cards. I doubt there will be a specific time for drops in the future. Will depend on the site.
@Classicalmusicscores19842 жыл бұрын
Is there any way i could get a github link of that bot, i know next to nothing about coding and am looking for that card
@germanrojasleon7373 жыл бұрын
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
@danielnsikanjoshua3063 жыл бұрын
You gotta do what you must
@optie53 жыл бұрын
Miners and Scalpers: "You dare use my own spell against me, Gamer?!"
@veniaminpuzynin66572 жыл бұрын
@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.
@NeuroPulse3 жыл бұрын
The part this is missing is how to check 24/7 and execute when product becomes available without being flagged as a bot from too many refreshes. Also any website that has a "confirm you are not a bot" check screws this.
@zacharygoodwin84703 жыл бұрын
have you worked around this?
@natialo2 жыл бұрын
Maybe using proxy
@TRINITY_YT3 жыл бұрын
hey I am trying to use this tutorial to buy a GPU however when I try to run the first two lines at 5:34 it says type error module object is not callable
@CODEMENTAL3 жыл бұрын
Check that you have run the cells above that line.
@warrickjones66333 жыл бұрын
Hi, im currently in the same predicament... did you happen to find the solution?
@thomb.90133 жыл бұрын
this isn't Mena if you buy one for personal use. it's fighting fire with fire.
@broderp2 жыл бұрын
The PC community needs to come together and help each other out. Image if those who know this programing stuff where to package this in such a way that the average noob could install an executable file and copy & past info into this script, we could give the scalper bots a run for the money. We may not all get one, but we would take sales from those who already use this to resell and artificially inflate GPU thru scalping. If the community can get them as easy as the scalper bots, then it lowers what they can sell for and eventually, the prices may level off where they below. Its a super long shot and will never happen because helping others is not something that comes easy to many. Its all about themselves.
@callmethreeone2 жыл бұрын
I will help anyone who needs it.
@Schmickler863 жыл бұрын
great tutorial, well explained. Appreciate your time and knowledge. Thank you my friend!
@CODEMENTAL3 жыл бұрын
Thank you. Glad you found the tutorial useful!
@anakinskywalker56103 жыл бұрын
Did you get your gpu?
@kevindong80922 жыл бұрын
I tried doing this but everytime I try running chrome is says my chrome is not up to date however my chrome page is already updated does anyone know what may be the issue?
@Nacho_Bear2 жыл бұрын
someone on the other video found a solution open your environment (gpu_buy_bot) in terminal and type: pip install chromedriver-binary==(version you want) I used: pip install chromedriver-binary==98.0.4758.102
Help, im getting this error! SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 92 Current browser version is 91.0.4472.124 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
@CODEMENTAL3 жыл бұрын
You need to downgrade your version of the binary chrome driver. Check video in the pinned comments. I show you how to solve the problem.
@604hs3 жыл бұрын
I keep getting these two errors saying wd is not defined and chromedriver executable needs to be in PATH
@ToeNeee3 жыл бұрын
Did you find a fix to that error ? at first mine was about selenium module but I was able to fix that
@giobarney3 жыл бұрын
i think you need to open up a new notebook thing with it set to the bots file directory
@bigsmoke64143 жыл бұрын
found a solution yet? I think it maybe has to do with the fact that i installed chrome not in the standard windows program file path
@giobarney3 жыл бұрын
@@bigsmoke6414 it fixed it for me but now it's saying something about a wrong version. I think it might be because it wants Chrome version 91 when I have version 90.
@bigsmoke64143 жыл бұрын
@@giobarney i installed the 90 version and it worked
@amraevers27972 жыл бұрын
I don't know anything about coding but I am eager to learn! Your videos are so helpful! Thank you
@CODEMENTAL2 жыл бұрын
Thank you so much for the feedback!
@IMorenoI3 жыл бұрын
Amazing tutorial. The best I've seen on the subject. Thank you very much!
@CODEMENTAL3 жыл бұрын
Glad it was helpful!
@dragunmotion26083 жыл бұрын
Where you able to do it?
@cringezero Жыл бұрын
Bro I want bot which buy automatically when price match with my expected price
@ArtemSovetnikovАй бұрын
Hi! Did you find a solution to this problem?
@NitroVipers33 жыл бұрын
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.
@bigsmoke64143 жыл бұрын
best tutorial about this topic. everything explained not copy paste without understanding. The first video after that i think that i actually got the feeling, that this will work Love U Edit: if i try to open the try to run the script, it says this: FileNotFoundError Traceback (most recent call last) ~\AnwendPR\Anaconda\install\envs\pc_bot\lib\site-packages\selenium\webdriver\common\service.py in start(self) 71 cmd.extend(self.command_line_args()) ---> 72 self.process = subprocess.Popen(cmd, env=self.env, 73 close_fds=platform.system() != 'Windows', ~\AnwendPR\Anaconda\install\envs\pc_bot\lib\subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text) 857 --> 858 self._execute_child(args, executable, preexec_fn, close_fds, 859 pass_fds, cwd, env, ~\AnwendPR\Anaconda\install\envs\pc_bot\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session) 1310 try: -> 1311 hp, ht, pid, tid = _winapi.CreateProcess(executable, args, 1312 # no special security FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden During handling of the above exception, another exception occurred: WebDriverException Traceback (most recent call last) in 2 import chromedriver_binary 3 #Treiber holen ----> 4 wd = wd.Chrome() 5 wd.implicity_wait(10) 6 #Chrome oeffnen ~\AnwendPR\Anaconda\install\envs\pc_bot\lib\site-packages\selenium\webdriver\chrome\webdriver.py in __init__(self, executable_path, port, options, service_args, desired_capabilities, service_log_path, chrome_options, keep_alive) 71 service_args=service_args, 72 log_path=service_log_path) ---> 73 self.service.start() 74 75 try: ~\AnwendPR\Anaconda\install\envs\pc_bot\lib\site-packages\selenium\webdriver\common\service.py in start(self) 79 except OSError as err: 80 if err.errno == errno.ENOENT: ---> 81 raise WebDriverException( 82 "'%s' executable needs to be in PATH. %s" % ( 83 os.path.basename(self.path), self.start_error_message) WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see sites.google.com/a/chromium.org/chromedriver/home
@bigsmoke64143 жыл бұрын
found a solution: you have to download the chromedriver seperatly (in my case not 91, but 90!), and then put it in the exact same folder as the script
@ongyisheng25263 жыл бұрын
Could someone teach me how to get rid of the pink coloured error message that popped out after you clicked on "allow" for the windows security notification. I am stuck at minute 5:40
@CODEMENTAL3 жыл бұрын
Any luck getting rid of that error?
@klausthehybrid31283 жыл бұрын
@@CODEMENTAL i got the same error.
@CODEMENTAL3 жыл бұрын
Videos you probably want to watch: ✅ How to create a Python Bot Step By Step 👉🏼 kzbin.info/aero/PL3OV2Akk7XpBwRE5oTY9yJK5x-RFmJ_g2 ✅ You are getting errors, most frequently asked questions answered 👉🏼 kzbin.info/www/bejne/gaS9eHqlrq-cpck ✅ Web Scraping Projects 👉🏼 kzbin.info/aero/PL3OV2Akk7XpBUHgzTDlT8NRCM5RTBD3E4 ✅ Python Problems for Beginners 👉🏼 kzbin.info/aero/PL3OV2Akk7XpC-fsHuJ3RLpnzOXmED7oAI ✅ Code a bot in python to find the latest Nvidia RTX 3060 and Ryzen 5000 👉🏼 kzbin.info/www/bejne/oGiuc5upd9doZ7s ✅ Build with Python an Amazon.COM Price Tracker that sends Whatsapp notifications 👉🏼 kzbin.info/www/bejne/i2SpfX2Kd5Vlh7M ✅ Web scraping with Python, BeautifulSoup, Pandas and Selenium 👉🏼 kzbin.info/www/bejne/r36ofoicaNt4rMU ✅ How to Web Scrape an HTML Table using Pandas Library in Python 👉🏼 kzbin.info/www/bejne/sKGlen2CmbR3odU ✅ Putting it all together 👉🏼 kzbin.info/www/bejne/pJu7l3h5osR6qMk
@peternieves49583 жыл бұрын
keep getting syntaxError : invalid syntax
@CODEMENTAL3 жыл бұрын
@@peternieves4958 Please provide context/location of error if possible.
@Subvac3 жыл бұрын
Thanks Code Mental, can you make a video that links javascript to handle certain popups? I am stuck on one and cant find the element with find element by xpath :(
@faisalshah37673 жыл бұрын
Hi, this is a great tutorial. I have zero knowledge about coding and yet I made a bot. I just want to ask, is there any code that will re-run the kerenal automatically if it runs in an error for adding to cart. Its possible that it will get error till the time item is not live so can we have a code to keep it retrying till it surpasses the add to cart button....Thanks
@calebaugustine1733 жыл бұрын
^^
@CODEMENTAL3 жыл бұрын
Glad you found the tutorial useful. Good question. I have implemented something similar to that in another video: kzbin.info/www/bejne/sKGlen2CmbR3odU One way is to use exception handling in python to handle failures. In this way you can keep trying. A better way is perhaps not to try and add a product to cart if the item is not available.
@jameshemmings15423 жыл бұрын
look up try except
@CODEMENTAL3 жыл бұрын
Check my latest video. That is what I show you how to implement.
@StrongOneYT3 жыл бұрын
Can we get a updated one, or how do you install the chrome drive 90.0, because it is installing 91.0 with this same code 8:55
@CODEMENTAL3 жыл бұрын
There are ways to install an older version of the library.
@alexanderl77273 жыл бұрын
@@CODEMENTAL what ways? what do I need to type into terminal to install chrome driver 91
@jtonstixx3 жыл бұрын
i need help so when i get to command prompt and type conda activate gpu_buy_bot it says "'conda' is not recognized as an internal or external command, operable program or batch file." please help
@adielangawa66243 жыл бұрын
Today I tried get evga 3070 ti and my WiFi started fucking up so I said if I cane beat em join them
@CODEMENTAL3 жыл бұрын
Did you install Conda?
@jayeshkog3 жыл бұрын
im getting the same error and I have installed conda
@jayeshkog3 жыл бұрын
Update: I found a fix, open the command prompt in the home page of the anaconda.navigator by clicking cmd.exe prompt
@lucaspetty59903 жыл бұрын
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"
@Echo4Yankee Жыл бұрын
Thank you for posting this. This should make it more difficult for a hole scalpers to sell their items.
@proxir80013 жыл бұрын
so the chrome driver only supports version 93 of chrome and i got version 92, how do i make the driver version 92?
@Jason.D.W.3 жыл бұрын
i got same error. even tried version 93 as it says, but still no luck.
@CODEMENTAL3 жыл бұрын
You need to rollback you python-chrome-driver-binary library. I show how to do that in the video that you can find in the pinned comment.
@proxir80013 жыл бұрын
@@CODEMENTAL there is no pinned comment
@CODEMENTAL3 жыл бұрын
@@proxir8001 Actually there is. But I will also add this in the description :)
@narnat20132 жыл бұрын
Aight uhm... Lets say i know theres a drop for a hoodie or something and i know exactly when the drop will start. And i need to be quick because its cery likely that the product will be sold within few seconds. Can i tell the bot when to start the programm and if its the first time on a website, can i speed through the different button (u did a wait time of 10 seconds or something. I mean if i could do 2 seconds for every button) or is the website still able to detect such fast movement? But the more important part of my question is if i can let my bot run the programm at a spesific time.
@CODEMENTAL2 жыл бұрын
It is different for each website. If your retailer doesn't mind bots you can make it faster. You can tell the bot when to start, or come up with any condition that you can think of. You can access products by url instead of clicking buttons, etc
@Kam2eLeon3 жыл бұрын
If you can't open chrome window, check you have instaled chrome 32bit (not 64bit only) like i had.
@CODEMENTAL3 жыл бұрын
That's strange. My Chrome is 64bit also.
@crime23273 жыл бұрын
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)
@paulpaul14293 жыл бұрын
It says that this session was not created because the Chrome Driver only supports Chrome version 97 and not 96 even though its the latest version
@ibrahimabdul-qadir20913 жыл бұрын
got the same error
@flygodyeet97182 жыл бұрын
any fixes?
@testoroniguacimoni48812 жыл бұрын
@@flygodyeet9718 hey did you find out how to fix it?
@flygodyeet97182 жыл бұрын
@@testoroniguacimoni4881 yeah. You have look up the chrome driver that matches your version. Whenever I tried to auto install it like he did it kept downloading an old version. kzbin.info/www/bejne/gaS9eHqlrq-cpck skip to 4:55
@testoroniguacimoni48812 жыл бұрын
@@flygodyeet9718 I have the same version and it still doens't work
@derangeddoffy3 жыл бұрын
Hey guys, I'm making my own bot with selenium and it's turning out great, it's a bit slow tbh but at least if it goes in stock even when i'm away from my pc it will buy it. I haven't actually tested it on buying something but it fills in all the info and clicks everything. I really hope I don't run into captchas and I had the bot running for a few hours and it did not get banned so I think that's a good sign. (I auto refresh the page every second)
@CODEMENTAL3 жыл бұрын
Hope you get your GPU. I think auto refreshing the page every second is a bit too much. You should probably lower the frequency to a maximum of once per minute. Even then once per minute is already pushing it.
@derangeddoffy3 жыл бұрын
@@CODEMENTAL do I do a time.sleep 60 and do you also know how often the 3060 ti fe restocks
@derangeddoffy3 жыл бұрын
@@CODEMENTAL are you sure I should do once a minute, that seems a bit slow and when I ran the code for a few hours it didn’t get detected
@CODEMENTAL3 жыл бұрын
@@derangeddoffy a request once a second is definitely too frequently. There is no reason to do it so often. My recommendation is that you can monitor a listing page with all the graphics card you are interested in buying. You will get the stock availability all at once. In this way you minimize the number of times you are probing the website. The less times you connect to it, the better. Consider doing maybe once every five minutes. And see if that works for you.
@royalrefiningllc3 жыл бұрын
Would you be willing to send me the bot info? I have been trying to get a gpu for months now. Please help me
@seymurmammadov38682 жыл бұрын
On my mac I am unable to run the second line of code. It opens the browser and quickly closes it with an error stating : "SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 100 Current browser version is 99.0.4844.74" Can someone help me get through this?
@rlkjgh2 жыл бұрын
i have the same problem, i downloaded chrome beta and i think it might work, but i need to find a way to make it open chrome beta and not regular chrome
@seymurmammadov38682 жыл бұрын
@@rlkjgh I figured it out. Used something else instead and it worked.
@rlkjgh2 жыл бұрын
@@seymurmammadov3868 what did you use?
@seymurmammadov38682 жыл бұрын
@@rlkjgh from selenium import webdriver as wd from webdriver_manager.chrome import ChromeDriverManager driver = wd.Chrome(ChromeDriverManager().install()) driver.implicitly_wait(10)
@rlkjgh2 жыл бұрын
@@seymurmammadov3868 thank you im going try it out and hope it works 🙏
@bonzegrinder13 жыл бұрын
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?
@SlumpyVal3 жыл бұрын
Chrome up to date, but getting this error. Quick fix?? Message: session not created: This version of ChromeDriver only supports Chrome version 91 Current browser version is 90.0.4430.212 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
@finnleydonaldson19833 жыл бұрын
Getting same thing, did you get a fix for it>
@CODEMENTAL3 жыл бұрын
try something like this when installing python-chromedriver-binary, courtesy of another viewer, who had the same issue: conda install -c conda-forge python-chromedriver-binary=90.0.4430.24
@ttvjackriot77343 жыл бұрын
@@CODEMENTAL doesn't work
@tinkerbytes3 жыл бұрын
@@CODEMENTAL Worked on my end! Thanks!
@bradfordtube36342 жыл бұрын
How can i turn my script into a Chrome extension?
@isaacramirez54793 жыл бұрын
I tried launching Jupyter Lab from the interface it didn't launch so I opened through cmd and couldn't get past the second line without it saying "Message: unknown error: cannot find Chrome binary". Been looking for an answer for the last 4 hours but couldn't find anything.
@thecryptoindia2 жыл бұрын
did u find something?
@kwaj90793 жыл бұрын
would this work with the best buy website?
@jlerts2 жыл бұрын
Thank you for this very useful video! I will try adapt this with my future shoes!
@tim37802 жыл бұрын
Can this be done with multiple URLs at once?
@MrCarlsonWang3 жыл бұрын
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!
@broderp2 жыл бұрын
Can this be simplified? What if the code can just grab the item and throw it in the cart then alert you that you have secured the item? Most carts will give you a few minutes to get thru the purchase once it's in your cart. I'd be willing to sit and wait for a window of time to complete a purchase. Some places announce when stuff will be sold, so they give you a window. Getting into the cart is the hard part. ..or am I thinking about this wrong?
@CODEMENTAL2 жыл бұрын
Just because you add an item to the cart it doesn’t mean it is reserve it. But you are thinking right. By having an early warning you should be able to buy it manually as well.
@neaaat55453 жыл бұрын
Hello when i try to run: from selenium import webdriver as wd import chromedriver_binary wd = wd.Chrome() wd.implicitly_wait(10) it gives me a error: This version of ChromeDriver only supports Chrome version 91 Current browser version is 90.0.4430.212 with binary path C:\Users\Tarik\AppData\Local\Google\Chrome\Application\chrome.exe how do I fix this i dont now how to change the file path of my chrome beta version 91 thanks
@sunlit59663 жыл бұрын
I am having the same issue
@jankauskasgrant35423 жыл бұрын
@@sunlit5966 make sure the download the newest version on chrome
@patricknnt13012 жыл бұрын
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.
@the_biggest_chungus75082 жыл бұрын
It is a pity that we have to resort to the things we hate (scalping), to fight the exact same thing (Scalpers)... Eitherway, thanks for the vid
@CODEMENTAL2 жыл бұрын
It's all about learning coding and spreading knowledge so that not just the few know it. Nowadays there are so many GPUs that it is no longer such a big deal.
@the_biggest_chungus75082 жыл бұрын
@@CODEMENTAL indeed, but it's not only about GPUs🤷♂️ For example, I'm looking for a Nvidia Xavier NX Dev-Kit (Minicomputer for a AI-Model I'm developing, like a hella beefed up Raspberry), but I'm looking at unknown delivery times where ever I look
@CODEMENTAL2 жыл бұрын
@@the_biggest_chungus7508 Definitely an interesting device. Hope you get one!
@samnc25473 жыл бұрын
Getting this issue: TypeError: 'module' object is not callable
@CODEMENTAL3 жыл бұрын
You missed installing libraries. Maybe go back in the video and double check that you installed the correct libraries.
@Geflext2 жыл бұрын
Hello, I have a question. At 12:55 you said there is another method to do this without xpath? how? Because on that site where i want to use my bot is changing the inputs automatically (e.g '//*[@id="input_36"]' to '//*[@id="input_38"]')
@CODEMENTAL2 жыл бұрын
Yes there are other ways without needing to use xpath absolute paths. You can do search for elements based on text and on class names, etc. I recommend you to watch more of my videos where i show you how to do that. I have also started a new series where i show you step by step how to fetch the correct item from a list. Check it out.
@BiggZillaa3 жыл бұрын
Does this work on Amazon to get rrp cause scalpers sell for too much on there so does it specify between rrp and scalps
@shoebot02 жыл бұрын
CREATE YOUR OWN AMAZON BOT TO GET A PS5 (2022)!!!!! kzbin.info/www/bejne/qnPNfICmbqp7Y7c
@kylestanf0rd3 жыл бұрын
When I download chromedriver, it downloads chromedriver 93 but my current chrome browser is running on version 91 so they are incompatible. Any way to fix this issue?
@CODEMENTAL3 жыл бұрын
Check this video: kzbin.info/www/bejne/gaS9eHqlrq-cpck It shows you how to resolve it.
@manfredholzkopf95223 жыл бұрын
Hi if i write conda acivate GPU***** he said that this is not a command order (CMD Order)... i have a problem with the path i think, how can i solve it?
@manfredholzkopf95223 жыл бұрын
found: You have to start the cmd fom conda not the one of the os
@TVXDcombyElkhan3 жыл бұрын
Hi! I'm trying to get a 3060 Ti. However, most GPUs on Newegg are only available via Newegg Shuffle, and therefore can't be bought with a robot. What do I do now?
@reinbowed3 жыл бұрын
You can either manually enter the Newegg Shuffle or create a command bot that will enter the Newegg Shuffle from Monday - Friday 11:00PM - 1:00 PM EST. The more you enter, the higher your chances are of getting a 3060 TI.
@jeremygonzalez45013 жыл бұрын
This video is awesome!! Thank you for the content!!
@CODEMENTAL3 жыл бұрын
Thank you Jeremy!
@MountCCN2 жыл бұрын
I am having trouble selecting Pay with Pay Pal in a . what can i do it does not recognize the Iframe?
@Saiyan212 жыл бұрын
Hey I know you probably stopped replying to this video but I need some help. Chrome driver is set on to the newest beta of google chrome 109 when I have 108, so is there anyway to get the old driver for 108? I downloaded the beta but its still going to the old directory of the 108 maybe there is a way to set a new pathway? sorry i dont code at all so I was just trynna follow the video step by step but I just hit this wall.
@CJ_Link3 жыл бұрын
When the bot clicks proceed to cart, it needs to sign in to get there, even if I'm already signed in through chrome. Is there any way to have it automatically be signed in so I don't have to manually sign it in every time?
@hughosullivansexton23613 жыл бұрын
Hi there, I'm having some issues in the Jupyter Labs part of this bot as it says wd is not defined. How do I fix this because wd is not defined it doesn't click on the buttons. Thanks
@CODEMENTAL3 жыл бұрын
Hi Hugh, this seems to occur often for people. You missed running the top cell.
@adriangomez28613 жыл бұрын
how do you get the button class xpath if the add to cart button is not there there is only out of stock?
@CODEMENTAL3 жыл бұрын
You can find another product in stock, and there you will find what the button is. It is always the same.
@vivanco9012 жыл бұрын
Hey, the bot buy automaticly if the product is back on stock? Or must i mix this bot with the back on stock bot? How does this bot work step for step?
@jankauskasgrant35423 жыл бұрын
Every time I tried to run the (conda activate gpu_buy_bot) it says, Could find conda environment: gpu_buy_bot. Can someone help me, please.
@jankauskasgrant35423 жыл бұрын
I was able to figure it out but now when I type conda install bs, it says packages not found error
@CODEMENTAL3 жыл бұрын
What is bs package? Maybe you mean bs4?
@chrisjiang90743 жыл бұрын
@@jankauskasgrant3542 conda install bs4 will install beautiful soup. he accidentally typed bs in the video
@Wizoz-sb5dm Жыл бұрын
Great video! What if I was expecting an item that has not been released yet on newegg or amazon but I know will release on a certain day... Can I setup a script to constantly search the amazon from the morning to the evening for the item to show up and purchase it? Thank you!
@XROVOCX3 жыл бұрын
Hello, I’m still getting that trace back error from 5:42. I followed the step for allowing the firewall but still nothing. Thanks
@CODEMENTAL3 жыл бұрын
That probably means you have something else going wrong. I recommend to you to check the videos in the description. There I also give you the solution for most common problems.
@matteova39732 жыл бұрын
could u tell me how compare a price and if bolean to make next action?
@charlieevert76662 жыл бұрын
Thank you! Always curious how this worked.
@livethe2ndlife3 жыл бұрын
@CODE MENTAL I am getting the same error you received after typing in "from selenium import webdriver as wd import chromedriver_binary" "wd = wd.Chrome() wd.implicitly_wait(10)" After I received the same error message, I allowed access to Windows defender, but after that the browser still wouldn't open. Help would be appreciated!
@livethe2ndlife3 жыл бұрын
So after looking further into the error message, I located that it said "SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 92 Current browser version is 91.0.4472.106 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe"
@livethe2ndlife3 жыл бұрын
What can I do to fix this?
@ongyisheng25263 жыл бұрын
@@livethe2ndlife im having the same problem to, instead, mine shows this "This version of ChromeDriver only supports Chrome version 93 Current browser version is 92.0.4515.159 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
@kilian52452 жыл бұрын
Hey, use this instead: command prompt: pip install webdriver-manager from selenium import webdriver as wd from webdriver_manager.chrome import ChromeDriverManager driver = wd.Chrome(ChromeDriverManager().install()) driver.implicitly_wait(10)
@zeoleen46033 жыл бұрын
Thanks, but where can i find the video about out of stock that you said in the end ?
@CODEMENTAL3 жыл бұрын
You can find it here: kzbin.info/www/bejne/oGiuc5upd9doZ7s
@yeungtaiyuet32772 жыл бұрын
hello! I am trying to follow the video step by step but I am not able to open a window with chrome and seems it is because chrome had updated their version to104. but version104 is just a beta now. Is there any way for me to get it right? Thank you for your video and time
@Daniel-pc2ov2 жыл бұрын
Use requests
@senorconquistador1112 Жыл бұрын
@@Daniel-pc2ov What do you mean by this. I'm having trouble here too
@marclim59282 жыл бұрын
I just subscribe. I'm new to scalping and bots thank you for your video. I would like to learn more
@kdukowski3 жыл бұрын
Hey, what might be a good way to write an if statement to check for the not interested button? because it seems like some products done have it.
@CODEMENTAL3 жыл бұрын
Not interested or not in stock?
@michelangalo083 жыл бұрын
Good tutorial. I was able to make a bot for Amazon. One issue I am facing is there are radio button option in payments (around 10) and the radio button ID's are different every time the page is loaded. How to do a selection without using ID name in Xpath?
@CODEMENTAL3 жыл бұрын
If the text of the radio button is always the same, you can also search based on that.
@michelangalo083 жыл бұрын
@@CODEMENTAL I did based on few unique parameters like name and value. It detects sometimes and sometimes miss it. What is the issue?
@CODEMENTAL3 жыл бұрын
@@michelangalo08 I bet that it is to do with timing. Did you set implicitly wait parameter to allow selenium to wait for the field to be visible?
@CODEMENTAL2 жыл бұрын
Use sequence. The id may change, but the sequence of the payment methods should be the same.
@sarazrty4563 жыл бұрын
Thanks alot ..I have a question please, can we add a code through which we can fetch multi credit card numbers one by one from the txt file and try if the payment fails oe success, the code will try the next card and so on and then save the working card in another txt file
@calebaugustine1733 жыл бұрын
How do i get this to loop, for example to relaunch the program and close the previous window if the gpu is not in stock?
@CODEMENTAL3 жыл бұрын
For that better check the video "Code a bot in Python to find the latest Nvidia RTX 3060 and Ryzen 5000". You can find the link in the description.
@duzx45413 жыл бұрын
@@CODEMENTAL but it only loops once over all the items on the site doesn’t it.? It won’t close and reload the page if itemsAvailable is false
@jordyndillard37753 жыл бұрын
How would I take this script and convert it into a fully executable application with a GUI that shows me what’s going on stage by stage of the checkout process? I want to have it running in loop also so that when it detects in stock, it will hit the site and checkout quickly.
@PauL-bk2ix2 жыл бұрын
what would be a good way to make it enter a virtual line very fast? there is no bottom it just redirects you when the line opens. (every Thursday) I am wondering because the line is for an MSRP and card and there are so many bots that even if you are sitting there waiting for it to open and get it the exact second the bots will still get it faster
@transCanadaHghw3 жыл бұрын
Thank you for providing such high quality material! May I ask what is the name of the website you were browsing at around minute 14:36 to get information about select elements?
@JenoDevo2 жыл бұрын
Probably the selenium docs (if you haven't found it by now)
@graceguo57282 жыл бұрын
Am I missing something? I was following the tutorial step by step but when I moved on to Jupiter hub I stuck on line 1: No module named ‘selenium’. I reinstalled selenium too but still. What should I do?
@alanandrusky24032 жыл бұрын
So I guess this only really can be built if the website you're targeting has the item in stock? For example, I'm trying to get a Founders Edition card from Best Buy, but of course all of the 'add to cart' buttons are disabled because they're not in stock. For this reason, I can't get the xpath code for the 'add to cart' paths. Is there any other way to get this code in this situation?
@jaja-rh6nc11 ай бұрын
have you found a way to do this?
@BURNINGKOTM3 жыл бұрын
Does this work on Best buy and other websites at 6:50 because for some reason it doesn't work for me pls help :(
@spicyice22503 жыл бұрын
There is this card on that will drop in a few days. But instead of a "add to cart" or "sold out" button. It just says "notify me". What should I do in that situation. The card will dissappear immediately as it drops.
@JunTong-uy5bu Жыл бұрын
thanks for your tutorial, really helpful. How do I write codes like this if the item is not even available to add to cart?
@yuotubejunkkii1012 жыл бұрын
I followed all of your steps but I keep getting an error message when trying to open the web browser. The error message says I need chrome version 99 but I am running in 98 and it says chrome is up to date. I downloaded the beta version which is 99 but that turned out to be a separate application. How do I fix this problem? Please reply.
@Nacho_Bear2 жыл бұрын
same problem here
@Nacho_Bear2 жыл бұрын
someone on the other video found a solution open your enviornment (gpu_buy_bot) in terminal and type: pip install chromedriver-binary==(version you want) I used: pip install chromedriver-binary==98.0.4758.102
@cjacobson90772 жыл бұрын
Hello! im trying to build a bot and im newer to coding but when im typing in Jupyterlab its not autofilling my lines like shows in your video. any idea why that might be? Also idk if this matters but it only opens jupyterlab in edge not chrome
@CODEMENTAL2 жыл бұрын
I speed up in certain sections of the video so i don't bore everyone with my typing
@erikhi81323 жыл бұрын
Hi @code mental, I am new to this first of all, but when inputting the first 2 commands it wont open a web page because it says namerror wd is not defined. Why is this?
@CODEMENTAL3 жыл бұрын
You probably didn't run the cell before. Run it from top to bottom
@erikhi81323 жыл бұрын
@@CODEMENTAL ok that worked, but now I get a sessionnotcreatedexception that says my browser is too outdated at version 90 so i installed beta version 91 but it still gives the same error, idk why
@CODEMENTAL3 жыл бұрын
@@erikhi8132 maybe restart the kernel in Jupiter lab . If that doesn’t work, maybe your chrome really isn’t updated
@erikhi81323 жыл бұрын
@@CODEMENTAL How do I change the binary path? i know im using chrome version 91 beta but I think the binary path makes it try to open chrome version 90
@CODEMENTAL3 жыл бұрын
@@erikhi8132 not sure I can help there. Chrome normally does a good job at deleting the old version
@DustinCase3 жыл бұрын
Thank you for the great video. Do you mind clarifying how we have one bot auto-check inventory and also auto-buy? It isn't clear how to combine the code from both videos.
@CODEMENTAL3 жыл бұрын
Have you watched my other videos about web scraping? I have one video where I check for inventory. Combining the two would be really straightforward.
@@DustinCase i watched the video but i didnt figure how to combine both?
@jaun20463 жыл бұрын
I'm about to become a menace to society
@matthewganser28813 жыл бұрын
I’m getting the error: ‘WebDriver’ object has no attribute implicitly wait. Any thoughts on how to fix this? The browser pops up but there’s an error in the script
@Axemaster555553 жыл бұрын
Make sure everything is spelled correctly. That was my problem.
@gektejelles3 жыл бұрын
Same I am trying to find a solution but nothing so far. I'll let you know if I find a fix but idk so far.
@Funtroller7 ай бұрын
How do you automate this afterwards, asking for a friend
@DundeeYT3 жыл бұрын
This is a good video but the problem i'm having is that on Currys PC World in the uk, when the gpus say their out of stock i can't find the button to "add to basket" so i'm stuck
@CODEMENTAL3 жыл бұрын
Hello @Dundee, you can check if an element is present(e.g. add-to-cart) and if it is that means you can buy it. I don't think that it is very efficient to check for stock in the product page. Depending on the website, you know something is out of stock even in the listing page. This means that you can do one check for dozens of graphics card at the same time, rather than having to open a product page for each page.
@YouLunatic3 жыл бұрын
Sorry, but at 5:50 minutes "try again" doesn't work. I get the error message: SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 97 Current browser version is 96.0.4664.93 with binary path C: \ Program Files \ Google \ Chrome \ Application \ chrome.exe But 96 is the current version. What am I doing wrong?
@kilian52452 жыл бұрын
Hey, use this instead: command prompt: pip install webdriver-manager from selenium import webdriver as wd from webdriver_manager.chrome import ChromeDriverManager driver = wd.Chrome(ChromeDriverManager().install()) driver.implicitly_wait(10)
@cloud5813 жыл бұрын
gonna use this to finally buy an RTX 3000 before the scalpers do so i don't have to sell both of my kidneys to afford a GPU
@shawnlewis51813 жыл бұрын
Were you able to get one?
@Glork3 жыл бұрын
you werent even able to get one 😂
@cloud5813 жыл бұрын
@@Glork How do you know
@Glork3 жыл бұрын
@@cloud581 well we’re you able to get one or not ?? You completely ignored the first persons comment
@bruhbruhman3493 жыл бұрын
Still gotta sell a kidney for a 3090 no matter what
@Xevca3 жыл бұрын
When ever I put in the code on python and try to use it, it says name error: name 'wd' is not defined, plz help
@guygaponenko68073 жыл бұрын
yea same here!
@guygaponenko68073 жыл бұрын
@CODE MENTAL
@guygaponenko68073 жыл бұрын
@Xevca i i figured it out buddy you have to hit the play button after each line you create then it wd will be defined
@Xevca3 жыл бұрын
@@guygaponenko6807 thanks alot
@CODEMENTAL3 жыл бұрын
Sorry for late reply. Glad you figured it out.
@Ziltwix3 жыл бұрын
I am getting a problem around 8:56. Once I add the add_to_cart_button.click() it comes up with an error. ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (1003, 358). Other element would receive the click: ... (Session info: chrome=94.0.4606.81) Would anyone know the best way to solve this issue?
@ibrahimabdul-qadir20912 жыл бұрын
did you solve it? i have the same issue
@ahmadrindhoni582 жыл бұрын
which one faster to do something like this, selenium python vs puppeteer nodejs?
@straycatgirl3 жыл бұрын
Really great tutorial either way
@cristofer2320103 жыл бұрын
Could this same code be used to buy a PlayStation 5 on another website like Target or Best Buy?
@Mrshakaloko2 жыл бұрын
Is it fast enough, i mean will i get alert as soon as the price goes down or stock is available? I'v been using other programs and it takes always 5/10 minutes for the alerts. When i get the alerts everything's gone :/
@CODEMENTAL2 жыл бұрын
The faster the script is, the more likely you will be found to be a bot. So you need to slow down a bit.
@TheSk1tz Жыл бұрын
Could I technically set this up for things that are hyped or rumored to be coming out? Like certain potential collectible video game SKUs or other highly sought after products that have yet to be listed? Before the pre order page is up? I will hear about something a day or two late and the product will sell out.
@CODEMENTAL Жыл бұрын
You will need to scan the website to see the pre order page showing up. That's the only technical thing you can do. Other than that you can always have some insider information
@TheSk1tz Жыл бұрын
@@CODEMENTAL I only know how to find that info listed by scraping the website with Chromium. I probably should have a more secure internet connection.
@sarmadcheema22863 жыл бұрын
Is there a different process when there is no "Add to Cart" button on Newegg or should I try a different website?
@CODEMENTAL3 жыл бұрын
Check the videos I have in the description.
@nero39013 жыл бұрын
For me I get to the second "line wd = wd.Chrome()" and it runs fine the first time, but then if I exit the window and try again I start getting errors like "Attribute error: webdriver object has no attribute chrome." What's even more frustrating is that if it passes through the second line, it hangs on the third line and then gives me "chrome not reachable." I don't even know what to do now.
@CODEMENTAL3 жыл бұрын
Hello, every type you close the browser window you have to reinicialize the wd variable, by opening a new window. Best is not to close the window, unless you are looking to start from a fresh session
@nero39013 жыл бұрын
@@CODEMENTAL Thank you sm!!! I got through everything now :)