samc621 / SneakerBot

All-in-one bot, with auto captcha-solving and proxy management, using Node.js and Puppeteer.
MIT License
753 stars 194 forks source link

Question (Not really an issue): Has anyone had any success getting this to work recently on launch day? #79

Closed edfrommathclass closed 1 year ago

edfrommathclass commented 2 years ago

I compiled this bot about two weeks ago and have tried it on various sites (Nike, Footlocker, DTLR, Hibbet, Snipes) and it doesn't seem to successfully place an order on any site I try on launch day.

I know the bot is working cause if I try it on shoes that are already live, it gets to the end and places the order. I just can't seem to get it to work on launch day. On Nike, I know there is an existing issue (#28 ). For the foot sites, it recognizes I'm using a bot and blocks me. On the other Shopify sites I try, on some it asks for a phone verification code since my email is tied to ShopPay and this stops the bot and on others it can't seem to get past CAPTCHA (I am using the API key too).

Any advice or suggestions would be greatly appreciated. If I get some time, I also want to contribute to this project as well.

samc621 commented 2 years ago

@edfrommathclass do you have a log output from the Footsites or Shopify? This is the only way I can begin to investigate it. There's many possible issues there. For example, there may be a different type of captcha and we may also need to improve the antibot evasion. I do try to actively maintain this project but don't have much time these days and am still seeking more contributors, so any help will be appreciated.

edfrommathclass commented 2 years ago

Hi @samc621 I completely forgot to save off the logs but I will get them next time I try them. I'll probably try it again tomorrow and I'll upload them here.

I do primarily frontend work but know a little NodeJS so I will try to help if I can.

I have a couple other questions if you get some time maybe you can help me:

1.) When do you typically start the bot on launch day? I tried it today at around 10 seconds before 7am PST and it seemed to be working fine until it got stuck at the CAPTCHA. Is this the correct time to do it or should I start it right at 7am?

2.) What are you using for the proxies? Or is there a recommended proxy(ies) to use?

Thanks again for the help!

samc621 commented 2 years ago

Hi @edfrommathclass I haven't used the bot on launch day recently. But when I used it in the past, I would start the monitoring functionality 5-10 minutes before a release. When the product goes live, it will do the rest. I don't think the timing is what is causing the captcha issues, that sounds like something else.

As for proxies, I have used Luminati (now BrightData) for a while now. They're considered an industry-leading proxy provider, they have different types of networks e.g. residential, datacenter, ISP, high uptime, and lots of support.

edfrommathclass commented 2 years ago

@samc621 Ahh okay. Yeah didn't think that was the issue just wanted to understand when I should get the bot going. I've never used one before :p Does the bot continue to look for the product code if it does not find it? Haven't really looked at the code too much yet.

Got it. Cool I'll check them out.

Really appreciate you taking the time to answer my questions man.