Skip to main content

Simple RSS notify utility.

Project description

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"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rssnotify-0.1.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page