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: 3 months 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 (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T00:43:05.000Z (9 months ago)
- Last Synced: 2024-06-28T11:35:28.989Z (4 months ago)
- Topics: cron, python, reddit, rss, telegram
- Language: Python
- Homepage:
- Size: 23.4 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
```