Code Monkey home page Code Monkey logo

bot's Introduction

Download my code to your Desktop and unzip it in desktop. After unzipping there should be a folder called bot-master

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew cask install java

brew install node

cd ~/Desktop

ls

cd bot-master

java -jar -Dwebdriver.chrome.driver=./chromedriver selenium-server-standalone-3.4.0.jar

now open chrome and type in chrome://version in the address bar. Under Profile Path, there is a path. For me it is /Users/thomas/Library/Application Support/Google/Chrome/Default. Copy yours, this is the dataDir that we will use later.

open a new terminal window and in the new terminal window

cd ~/Desktop

cd bot-master

npm install

node app.js --size "<YOUR SIZE. EG US 10>" --url "<THE URL OF YOUR NIKE SHOE>" --dataDir "<DATAPATH FROM BEFORE>"

for example I will be copping the AJ1s in size US 11 so my command is

node app.js --size "US 11" --url https://store.nike.com/ca/en_gb/pd/zoom-all-out-low-2-running-shoe/pid-12046503/pgid-12082855 --dataDir "/Users/thomas/Library/Application Support/Google/Chrome/Default"

GOOD LUCK!

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.