rssnotify
rssnotify is a simple rss feed parser that will execute arbitrary command when specific news are found.
Installation
$ pip install rssnotify
How To use rssnotify
rssnotify use parameters from environment variables, create .env file and run rssnotify from the same directory:
URLS=["https://www.kucoin.com/rss/news?lang=en"]
KEYWORDS=["DELIST"]
SINCE_HOURS=1
COMMAND=["notify-send", "-t", "30000", "-u", "critical", "$TITLE", "$LINK"]
after than, you can run rssnotify in a cron job:
13 * * * * bash -c "cd $HOME/.config/rssnotify ; XDG_RUNTIME_DIR=/run/user/$(id -u) rss-notify"
Release files for rssnotify 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rssnotify-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / rssnotify-0.1.1-py3-none-any.whl
| Download URL | rssnotify-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b9e98dca941223722060467773d823f520e831b0bba6d9f4fa372b14ffbc7cdc
|
|
BLAKE2b-256 checksum How to use checksums |
29d5bd6c098ba196d58f1f8f4226e979f949010e45660436be096d9ada3056a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|