alexschimpf / Snkrs-Bot

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

Missing --url? Edit:not really an issue, just user error. Can delete. #67

Closed MikeEvangel closed 3 years ago

MikeEvangel commented 3 years ago

Hey, I was just trying to run the bot for the first time today, but when I attempted it, got the error: main.py: error: the following arguments are required: --url My input was the following: python3 main.py --username ****** --password ****** --url https://www.nike.com/launch/t/kobe-6-protro-all-star --driver-type chrome the output was: usage: main.py [-h] --username USERNAME --password PASSWORD --url URL [--shoe-size SHOE_SIZE] [--login-time LOGIN_TIME] [--release-time RELEASE_TIME] [--screenshot-path SCREENSHOT_PATH] [--html-path HTML_PATH] [--page-load-timeout PAGE_LOAD_TIMEOUT] [--driver-type {firefox,chrome}] [--headless] [--select-payment] [--purchase] [--num-retries NUM_RETRIES] [--dont-quit] [--shoe-type {M,W,Y,C,XXS,XS,S,L,XL}] [--shipping-option {STANDARD,TWO_DAY,NEXT_DAY}] [--cvv CVV] [--shipping-address SHIPPING_ADDRESS] [--webdriver-path WEBDRIVER_PATH] main.py: error: the following arguments are required: --url 'nhT' is not recognized as an internal or external command, operable program or batch file. I was hoping to get clarification on what I was doing wrong, thanks. Edit: It turns out due to my password having an '&' it was causing the url to not register due to the "nhT" being recognized as a unique entity. Sorry about posting this pls delete.