alexschimpf / Snkrs-Bot

Selenium bot for Nike Snkrs site
The Unlicense
843 stars 290 forks source link

[Proof of Concept] Fix login issue "Unable to connect to server" #83

Closed ptanmay143 closed 3 years ago

ptanmay143 commented 3 years ago

Related issues: Snkrs-Bot#68 Snkrs-Bot#21

I tried using the cookies from the original Google Chrome user data directory to avoid logging in from the Selenium browser which currently is facing issues due to Nike implementing a new Akamai bot detection service.

We could strip this script down to the basics and just use a quick link that auto-redirects to the checkout page. I am positive about the speed results. Here is an example of a quick link : https://www.nike.com/in/launch/t/air-max-tailwind-v-skepta-bloody-chrome?size=7&productId=79f8d3ae-0364-582a-a8d9-efc2fdb3a968 PS. The productId is found by inspect element the shoe page and finding the term. The size is of the shoe.

I do not hope to see this exact PR getting merged as I just want to start a discussion and we could find a better solution to the issue from this start.

mnai01 commented 3 years ago

It's been so long since I've seen activity. Glad to see someone showing interest. Maybe I'll finally finish my PR