https://github.com/samchungy/centrecom-rtx3080-feed
Scrapes Centrecom for RTX 3080 stock
https://github.com/samchungy/centrecom-rtx3080-feed
nodejs serverless
Last synced: about 2 months ago
JSON representation
Scrapes Centrecom for RTX 3080 stock
- Host: GitHub
- URL: https://github.com/samchungy/centrecom-rtx3080-feed
- Owner: samchungy
- Created: 2020-12-10T06:05:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T07:22:14.000Z (over 5 years ago)
- Last Synced: 2025-03-09T16:07:50.744Z (over 1 year ago)
- Topics: nodejs, serverless
- Language: JavaScript
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Centrecom RTX 3080 Stock Tracker
A simple 30 minute serverless scraper to alert us about RTX 3080 stock
## Description
This bot is designed to scrape Centrecom for RTX 3080 stock and post it into a Slack channel.
## Getting Started
### Dependencies
* serverless
* axios
* cheerio
* Slack
### Installing
* Create a Slack bot with a webhook URL.
* Create an `.env` file and fill them with
TABLE_NAME=centrecom-products
PK=product
SLACK_URL=X
* Run `npm install --prod` to install dependencies.
* Run `sls offline` to run locally.
* Run `sls deploy` to deploy to AWS.