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 [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 and crawl for deals until you stop it -
yarn cleanStorage
will reset the storage so already notified deals will be retriggered on match