Crawls Amazon Warehouse Deals looking for cheap products based on definition
Check the latest syntax for RxJS and try to score a cheap oled TV in Amazon Warehouse Deals in the process :)
- Chrome Puppeteer
- RxJS 6
- TypeScript
- Node
- Yarn
- General configuration such as refresh interval and so on can be found on config.ts
- The queries to crawl against can be configured in queries.ts
-
Your environment must have the following environment variables set
EMAIL_FROM
: name of senderEMAIL_TO
: whom to send the emailEMAIL_USER
: sender email account username (i.e [email protected])EMAIL_PASSWORD
: sender email account passwordEMAIL_HOST
: Hostname of email provider, defaults to gmail ('smtp.gmail.com')
-
yarn start
will run the server
Example
EMAIL_FROM=xxx [email protected] [email protected] EMAIL_PASSWORD=12345 yarn run startyarn start
will fire the server and crawl for deals infinitelyyarn cleanStorage
will reset the storage so already notified deals will be retriggered on match