No description
Find a file
2020-12-31 20:35:51 -05:00
.gitignore Initial commit 2020-12-16 20:44:37 -05:00
config.example.json Initial commit 2020-12-16 20:44:37 -05:00
newegg-purchaser.js Update to allow manually filling out the security code when newegg forces you to use 2fa 2020-12-31 20:35:51 -05:00
readme.md Initial commit 2020-12-16 20:44:37 -05:00

Setup

Install Dependencies

PUPPETEER_PRODUCT=firefox npm install puppeteer

Setup Configuration

  1. cp config.example.json config.json
  2. Edit config.json:
  • username: newegg username
  • password: newegg password
  • cv2: code on the back of your credit card
  • item_page: the part of the URL (starting with a slash) for the product after https://www.newegg.ca (eg: /amd-ryzen-9-5900x/p/N82E16819113664)
  • refresh_time: amount of time between page refreshes (with a random variance)
  • refresh_tries: the number of times the script will check before quitting (to avoid getting banned)
  • auto_submit: set this to false if you want to do a test run (everything up to the actual purchase)
  • price_limit: set this to a number you don't want your cart total to exceed before checking out

Credits

Inspired by https://github.com/Ataraksia/NeweggBot