Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timweri/deal-watcher
Watch subreddits and RSS for new posts
https://github.com/timweri/deal-watcher
cron python reddit rss telegram
Last synced: about 1 month ago
JSON representation
Watch subreddits and RSS for new posts
- Host: GitHub
- URL: https://github.com/timweri/deal-watcher
- Owner: timweri
- License: mit
- Created: 2020-12-06T01:52:42.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-20T23:36:19.000Z (2 months ago)
- Last Synced: 2024-10-22T15:28:46.024Z (2 months ago)
- Topics: cron, python, reddit, rss, telegram
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# deal-watcher
Watch subreddits and RedFlagDeals RSS for new posts and notify you instantly via Telegram!
For now, it is hardcoded to watch r/bapcsalescanada, r/CanadianHardwareSwap and RedFlagDeals Hot Deals Forum.
The polling frequency can easily be changed.
Also, there is a heartbeat cron job that would send the time periodically to indicate that the script is still running.## How to run
First, install the required Python package:
```python3
pip install -r requirements.txt
```Then, set up the environment by renaming file `.env-stump` to `.env`.
Fill in your Telegram Chat Bot credentials.Then run the cron job:
```python3
python3 cron.py
```