alpha 0.2
- Directly send data into requests without interacting with page elements
- Token generation for adidas.co.uk
Automatically purchase trainers from online stores
Currently supports footpatrol.co.uk and adidas.co.uk
- Python 2.7
- pip
pip install -r requirements.txt
- chromedriver placed in system path (or System/System32 in windows).
- clone repo with
git clone https://github.com/rhawiz/sneakerbot.git
or download through github. cd sneakerbot/sneakerbot
python sneakerbot.py --config <param> --instances <param>
- config: Path to config files separated by a list (see below) (e.g. sample1.cfg, sample2.cfg, sample3.cfg)
- instances: Number of instances to run per config file
Check sample.cfg
for an example of how a sample configuration may look like.
code = XXXXX
- [optional/required (if url not defined)] Product code for the website (e.g. BY1714, BA8530)
email = [email protected]
- [required] Email for delivery
bypass_stock_check = True | False
- [optional] Defaults to False. Set this to true if too much traffic on website. It will bypass the process of checking whether the product is in stock.
driver = chrome
- [optional] Defaults to chrome. If set to chrome process of buying products will be displayed. If set to phantomjs process will be run in the background. Must set to chrome if the process has some sort of captcha system inorder to manually input.
- clone repo with
git clone https://github.com/rhawiz/sneakerbot.git
or download through github. cd sneakerbot/sneakerbot
python productfinder.py --store <param> --name <param> --colours <param> --gender <param>
- store: store (adidas only so far)
- name: product name (does not have to be exact although for best results, try to)
- colours: product colour (e.g. red,green,blue,purple)
- gender: gender (e.g. men, women, kids)
- clone repo with
git clone https://github.com/rhawiz/sneakerbot.git
or download through github. cd sneakerbot/sneakerbot
python stockchecker.py --store <param> --codes <param> --sizes <param>
- store: product brand (adidas only so far)
- codes: product codes alone or separated by comma (e.g. BB4314,S80682,S76724)
- sizes: product colour alone or separated by comma (e.g. 12,7.5,13,6)
##Todo
adidas bot configuration file readmeLast test on release didn't go so well - inject request payload to URLs directly without loading contentWait for content to load before injecting the next javascript- Add phantom.js / chromedriver binary to project and link in code
- Simplify config input
- Implement paypal payment
- Stores:
adidas.co.ukfootpatrol.co.uk- solebox.com
- offspring.co.uk
- slamjamsocialism.com
- size.co.uk
- sneakersnstuff.com
- thegoodwillout.com
- asphaltgold.de
- inflammable.com
- mate-store.com