Crawls Amazon Warehouse Deals looking for nice deals based on definition
- TypeScript
- Puppeteer
- RxJS
- Node
- Yarn
- General configuration such as refresh interval can be found on config.ts
- The queries to crawl against can be configured in queries.ts
-
Create a .env file which has the following environment variables set:
EMAIL_FROM: name of senderEMAIL_TO: whom to send the emailEMAIL_USER: sender email account username (i.e someone@gmail.com)EMAIL_PASSWORD: sender email account passwordEMAIL_HOST: Hostname of email provider, defaults to gmail ('smtp.gmail.com')
-
yarn startwill run the server and crawl for deals until you stop it -
yarn cleanStoragewill reset the storage so already notified deals will be retriggered on match