natewong1313 / bird-bot

A Nintendo Switch checkout bot. Currently supports Walmart and Best buy
MIT License
1.18k stars 336 forks source link

I believe bot is dead #72

Open rtmarc opened 3 years ago

rtmarc commented 3 years ago

doesn't even add in stock items

reevesjeremy commented 3 years ago

For Walmart.com, technically it will try (but error) if you fix if "Add to Cart" in r.text: to if "add to cart" in r.text.lower():

It then detects the add to cart button, but in my case, once it actions it, I'm getting 444 no response error. You can see that response if you add the following: print (r) immediately after the r = self.session.post("https......

I think they managed to block the bot. I use the same exact URI, Header and Body in YARC, which is successful. So I am not sure what the server see's different from a browser vs script to be able to actively block the request.

Anyway, as you and others have mentioned the project is dead and the developer is no longer developing or maintaining this. Wish I could figure out the 444 issue, but I'm not having much success there.

rtmarc commented 3 years ago

Thanks for the Clarity @reevesjeremy I thought the bot was built pretty nice to begin with. I don't blame owner for not maintaining he's not getting paid for it so no hard feelings. Just wanted to point it out in case others stumbled upon this.

rtmarc commented 3 years ago

@reevesjeremy long shot but you know of any other alternatives on Github?

ZoeGit18 commented 3 years ago

Which files it located at?

jibkid88 commented 3 years ago

Yes- bot appears dead. Seems like the core functionality is there- wonder how much more effort to fix?

reevesjeremy commented 3 years ago

Which files it located at?

sites/walmart.py

illiniguy23 commented 3 years ago

You guys are changing the useragent, right?

reevesjeremy commented 3 years ago

You guys are changing the useragent, right?

I did change it to match my current browser and OS versionA. Same result.

vzendejas commented 3 years ago

I'm willing to contribute to the revival.

hollandz commented 3 years ago

Please. I need a Playstation at 9 EST. Willing to help revive. Teamwork makes the dreamwork.

ZoeGit18 commented 3 years ago

Please. I need a Playstation at 9 EST. Willing to help revive. Teamwork makes the dreamwork.

lol same here buddy

hollandz commented 3 years ago

Please. I need a Playstation at 9 EST. Willing to help revive. Teamwork makes the dreamwork.

lol same here buddy

We're both desperate AF. Has anyone tried the "Add to cart" fix above?

illiniguy23 commented 3 years ago

At least with wmart, it looks like this bot is using the wmart API. Wmart now required an access key to access the API, and they currently shutdown sign-ups. Since the entire bot is based off performing actions via the API, I don't think this will work for wmart.

illiniguy23 commented 3 years ago

Please. I need a Playstation at 9 EST. Willing to help revive. Teamwork makes the dreamwork.

lol same here buddy

We're both desperate AF. Has anyone tried the "Add to cart" fix above?

It doesn't fix the issue.

Strip3s commented 3 years ago

At least with wmart, it looks like this bot is using the wmart API. Wmart now required an access key to access the API, and they currently shutdown sign-ups. Since the entire bot is based off performing actions via the API, I don't think this will work for wmart.

Yeah I was digging into this as well and I believe you're correct based on what I found so far. I think best buy will work so far. But Walmart will need more work, unfortunately. Maybe we can work together on some other sites but i'm not sure which one will require not as much effort

mrodgers616 commented 3 years ago

Anyway, as you and others have mentioned the project is dead and the developer is no longer developing or maintaining this. Wish I could figure out the 444 issue, but I'm not having much success there.

Any luck with the 444 issue, I've been trying to work it out as well

mrodgers616 commented 3 years ago

The add to cart fix works but the api is getting a 444 response code

illiniguy23 commented 3 years ago

At least with wmart, it looks like this bot is using the wmart API. Wmart now required an access key to access the API, and they currently shutdown sign-ups. Since the entire bot is based off performing actions via the API, I don't think this will work for wmart.

Yeah I was digging into this as well and I believe you're correct based on what I found so far. I think best buy will work so far. But Walmart will need more work, unfortunately. Maybe we can work together on some other sites but i'm not sure which one will require not as much effort

It looks like the bbuy script could work, but it's using an outdated URL. The script uses https://www.bestbuy.com/cart/api/v1/addToCart, and it passes skuId via json. But the URL should be: https://api.bestbuy.com/click/-/skuId/cart

pequots34 commented 3 years ago

Any update on Walmart

illiniguy23 commented 3 years ago

Any update on Walmart

It won't work. They closed the API.

vzendejas commented 3 years ago

https://discord.gg/CHHPMNeX birdbot rez discord

pequots34 commented 3 years ago

Emulate the browser and intercept the session

otddev commented 3 years ago

Well i did added the "Add to cart" fix. It does break on trying to add to the cart with a 412 error code not 444.

ZoeGit18 commented 3 years ago

Well i did added the "Add to cart" fix. It does break on trying to add to the cart with a 412 error code not 444.

what's the add cart fix for it ?

otddev commented 3 years ago

The fix for the add to cart is as the post owner described.

For Walmart.com, technically it will try (but error) if you fix
if "Add to Cart" in r.text:
to
if "add to cart" in r.text.lower():

I was able to fix the 412 error code on adding to the cart but now getting another error on loading cart function. I think wont make it before 9pm EST for PS5 lol

rtmarc commented 3 years ago

Well i did added the "Add to cart" fix. It does break on trying to add to the cart with a 412 error code not 444.

what's the add cart fix for it ?

that fixes the fact that the bot will actually add the an in-stock item into the cart because initially it wouldn't add an in stock item into a cart. However while it's into the cart, the website fails to respond and it throws an error.

rtmarc commented 3 years ago

like right now it's adding the ps5, but throwing an error adding to cart

ZoeGit18 commented 3 years ago

i got this from another bot and this is What they using.

v26 = setInterval(function(){
if($(".blitz-container-border").is(":visible") && !$(".prod-product-cta-add-to-cart").is(":visible")) { clearInterval(v26); setTimeout(function(){ location.reload(true); },getRndRefreshRange(timeoutMin, timeoutMax));
}

gr33k commented 3 years ago

@ZoeGit18 where do you put that in the existing code? Example plz?

I got it to kinda work with walmart after fixing the add cart lower() thing. I had to downgrade my Chrome to v 81 (I'm on Mojave OSX)...while the bot errors at purchasing...it can be 'opened in browser' and once the page loads it will be the order being placed (receipt screen). I did it with a controller for PS5 walmart today successfully. Too bad Walmart's site sucks and despite that the order didn't go through in time before being 'out of stock' after several errors from their site.

EDIT: Obviously this is not ideal. Would be great to see someone fork the project and keep it going plus add Amazon, Target, etc. Wish I knew Python good enough to do it myself!

magnium12 commented 3 years ago

I’m willing to also contribute if anyone is willing to revive. I’ll take a look later tonight.

rodriada000 commented 3 years ago

I was able to fix the walmart bot yesterday for the 6pm/9pm drops. But still had no chance... I did test it works though by buying a controller 😁 You have to intercept the checkout page to confirm you're not a bot. I can fork and post the fix if you guys want?

illiniguy23 commented 3 years ago

I was able to fix the walmart bot yesterday for the 6pm/9pm drops. But still had no chance... I did test it works though by buying a controller 😁 You have to intercept the checkout page to confirm you're not a bot. I can fork and post the fix if you guys want?

Yes please! Congrats on getting it to work!

rtmarc commented 3 years ago

I was able to fix the walmart bot yesterday for the 6pm/9pm drops. But still had no chance... I did test it works though by buying a controller 😁 You have to intercept the checkout page to confirm you're not a bot. I can fork and post the fix if you guys want?

Nice Job!! Plz def share.

Strip3s commented 3 years ago

I was able to fix the walmart bot yesterday for the 6pm/9pm drops. But still had no chance... I did test it works though by buying a controller 😁 You have to intercept the checkout page to confirm you're not a bot. I can fork and post the fix if you guys want?

We actually have a small group on our other discord (not the same one linked before) reviving this project in a different fork. Are you able to join and possibly share what you've done?

https://discord.gg/SbAYm5c5

Novosen commented 3 years ago

I tried it in May and it was not working, I tried to fix it but didn't have much time back then so I gave up.

MIfeanyi commented 3 years ago

I was able to fix the walmart bot yesterday for the 6pm/9pm drops. But still had no chance... I did test it works though by buying a controller 😁 You have to intercept the checkout page to confirm you're not a bot. I can fork and post the fix if you guys want?

We actually have a small group on our other discord (not the same one linked before) reviving this project in a different fork. Are you able to join and possibly share what you've done?

https://discord.gg/SbAYm5c5

What's the repo?

danielkalen commented 3 years ago

This discord invite seems to be dead discord.gg/SbAYm5c5 did the server move elsewhere?

ghost commented 3 years ago

Neither discord link is working for me either. I'd love a chance to use this bot for the black Friday stock. I'm not a scalper. I'd just love to get my son a PS5 for Xmas.

ghost commented 3 years ago

This discord invite seems to be dead discord.gg/SbAYm5c5 did the server move elsewhere?

https://discord.gg/HTkyqD2bkX

M679 commented 3 years ago

could someone share an updated discord link? the two day old one has expired

erickargote commented 3 years ago

Looking to do the same

Willing to contribute as well

rahiduddin commented 3 years ago

I can't even get it to run the bot :/

ZoeGit18 commented 3 years ago

https://discord.gg/k44WwHSf

On Wed, Nov 18, 2020 at 9:04 PM Rahid Uddin notifications@github.com wrote:

I can't even get it to run the bot :/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/natewong1313/bird-bot/issues/72#issuecomment-730076906, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHU7LNBGCX6A7TMYD6ZPWZDSQR4MFANCNFSM4TTX5P2A .

M679 commented 3 years ago

sorry it seemed to have expired already, how long does the invite last?

M6Seattle commented 3 years ago

sorry it seemed to have expired already, how long does the invite last?

https://discord.gg/bwXUBwhF Lasts 24 hours

M6Seattle commented 3 years ago

Would be interested in contributing to this project if someone wants to throw another Discord link

https://discord.gg/nGGghkZk

PaulMH commented 3 years ago

Can i get a discord link, or is there a fix for bestbuy site?

M6Seattle commented 3 years ago

Can i get a discord link, or is there a fix for bestbuy site?

https://discord.gg/nGGghkZk

M6Seattle commented 3 years ago

someone hook me up with invite?

https://discord.gg/tmN3X3eT

creemerica commented 3 years ago

Has anyone forked it and fixed this bot? @M6Seattle can I get an invite?