Giter Club home page Giter Club logo

nike-buy-bot's People

Contributors

tylerburleigh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nike-buy-bot's Issues

Error when signing in

Hello guys. I was testing this script and every time the bot tries to sign in, Nike gives the following error:
Screen Shot 2020-09-09 at 6 02 27 PM

UnhandledPromiseRejectionWarning

Hi man, I tried ur bot on nike.it and the debugs works till size selection so I get this error:

(node:4691) UnhandledPromiseRejectionWarning: TimeoutError: Navigation timeout of 30000 ms exceeded at /Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/LifecycleWatcher.js:142:21 at async FrameManager.waitForFrameNavigation (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/FrameManager.js:139:19) at async Frame.waitForNavigation (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/FrameManager.js:414:12) at async Page.waitForNavigation (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/Page.js:695:12) -- ASYNC -- at Frame.<anonymous> (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/helper.js:111:15) at Page.waitForNavigation (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/Page.js:695:49) at Page.<anonymous> (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/helper.js:112:23) at /Users/albicallegari/Desktop/program/nike-buy-bot-master/bot.js:81:7 at processTicksAndRejections (internal/process/task_queues.js:93:5) (node:4691) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:4691) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:4691) UnhandledPromiseRejectionWarning: TimeoutError: waiting for selector "button[data-qa=feed-buy-cta]" failed: timeout 30000ms exceeded at new WaitTask (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/DOMWorld.js:549:28) at DOMWorld._waitForSelectorOrXPath (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/DOMWorld.js:478:22) at DOMWorld.waitForSelector (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/DOMWorld.js:432:17) at Frame.waitForSelector (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/FrameManager.js:627:47) at Frame.<anonymous> (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/helper.js:112:23) at Page.waitForSelector (/Users/albicallegari/Desktop/program/nike-buy-bot-master/node_modules/puppeteer/lib/Page.js:1125:29) at /Users/albicallegari/Desktop/program/nike-buy-bot-master/bot.js:161:13 (node:4691) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

another thing.. you told that I should run it around drop but how works ? is there any retry function?

thanks

".size-grid-dropdown failed" Size selector timing out

Hi Guys - hoping you can help!

I am finding issues running code from Australia, I have made the changes to cart code however my code still times out.

Grateful for your help please team - from my limited knowledge looks like these!!!

"FrameManager.waitForFrameNavigation"

"waiting for selector ".size-grid-dropdown" failed"

Round 2

Hey, I've built the bot and entered the required info into the js file, however, the bot won't proceed past step/round2.
bot__1_loaded_1630948146

Add to cart apparently works, but not

When the bot finds and clicks the add-to-cart-btn (now is called like that), apparently works so the pop-up to checkout appears, but if you look closer to the items on the cart, the number is zero.

Updated all the tools to newer versions as a workaround and not working either (it works even worse). If anybody knows anything...

BR Size is only 2 numbers

Hello i'm trying to do this script works in the Brazilian site, but the size number in here is different:

could you explain to me how i can change the size script to works in here as well?

Nike br Site:

Nike UK - Cors Policy / Add to Basket

Currently having an issue with Adding to the basket.

Error message in console:

Access to fetch at 'https://api.nike.com/buy/carts/v2/GB/NIKE/NIKECOM?modifiers=VALIDATELIMITS,VALIDATEAVAILABILITY' from origin 'https://www.nike.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

I have tried to fix this using web security blockers (args: ['--disable-web-security', '--disable-features=IsolateOrigins', ' --disable-site-isolation-trials']) in the .launch(), which supresses the errors, but still not working.

Performance ?

Is there a test result?
or
how much guarantee do you have when making a successful purchase?

regard

Error occurs while signing in into Nike Account

Good Day !

I am not sure is there anyone is encountering this issue while using this bot to buy a sneaker in Nike-sneaker-launch website.
While logging in Nike Account with preset email and password in the code, there will have an error prompt "An error occurred. we are unable to connect to our servers right now. please try again later." as per screenshot below too.

image

The browser console is per screenshot below for your reference.

image

I wish you can help me on this issue if you have any idea on it.
Good Luck and all the best to you!

Thanks.

launching the script

hi guys, probably extremely newbie question but I've made all changes to the script including changing the button to button[data-qa=add-to-cart] but im unsure why it's not launching..
I'm using Australian website so changed the size preference to example 'US 9'.
I'm clicking run and using notepad++ but its just opening up a new tab in chrome with all the code. Have attached screenshots. how do I exactly run this code in notepad++?

bot issue

Working in DE (Germany)?

Hello,
i have a question. Would the bot work when i change the links and sizes to Germany ?
Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.