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 details)

Uploaded Python 3

File details

Details for the file rssnotify-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rssnotify-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for rssnotify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9e98dca941223722060467773d823f520e831b0bba6d9f4fa372b14ffbc7cdc
MD5 c9e807f544c11e0f8ca38b22444015a1
BLAKE2b-256 29d5bd6c098ba196d58f1f8f4226e979f949010e45660436be096d9ada3056a8

See more details on using hashes here.

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