alexschimpf / Snkrs-Bot

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

How to run bot in terminal #69

Open Pope-Ray22 opened 3 years ago

Pope-Ray22 commented 3 years ago

Can someone inform me on how to run this bot. I am somewhat of a newb in BASH coding and I want to test If i can purchase these nikes at a specific time. These nikes are already released on the website, I also have all my info auto saved on the nike website. I don't know If I am actually running the bot when I press enter so If someone has any idea what I am doing wrong please let me know. 5B6EB4D4-9240-4507-973E-0255A1AE4EB3

Pope-Ray22 commented 3 years ago

I did the pip instal requirements prior to submitting the request and got a few errors on some portions of the install. I included them below 7B925216-3FCD-4362-BF1F-D9DAAA681A0B

victor-nazario commented 3 years ago

Hello, as suggested by the readme, the bot could encounter problems on shoes that are already released. So, it's considered working only for shoes on release day, within a few minutes of their release hour.

In order to install all dependencies needed for the program and their specific versions, please create a Python virtualenv and activate it, once you're inside the virtual environment install requirements. Once requirements finish, you can execute the program as you've done in the first image. Please, for more info refer to this repository's readme doc.

Pope-Ray22 commented 3 years ago

Hello,

Is there a way to test the code before using it on a specific release date?

On Tue, Mar 23, 2021 at 2:24 PM Victor Nazario @.***> wrote:

Hello, as suggested by the readme, the bot could encounter problems on shoes that are already released. So, it's considered working only for shoes on release day, within a few minutes of their release hour.

In order to install all dependencies needed for the program and their specific versions, please create a Python virtualenv https://docs.python.org/3/library/venv.html and activate it, once you're inside the virtual environment install requirements. Once requirements finish, you can execute the program as you've done in the first image. Please, for more info refer to this repository's readme doc.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexschimpf/Snkrs-Bot/issues/69#issuecomment-805129201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOU6ZG2QSLMXJGBDJWLIJU3TFDMGDANCNFSM4ZVWVASA .

-- Raymond A. Johnson

victor-nazario commented 3 years ago

Hey there, the simplest would be to run the code on some release you don't care about. Remember to NOT use the --purchase flag as it will try to buy the shoe. So run without the flag and you can see the bot in action. Other way to test could be write Python tests for the script, however, that would require you to know how to develop Python programs.