🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

rssnotify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rssnotify

Simple RSS notify utility.

0.1.1
PyPI
Maintainers
1

rssnotify

rssnotify is a simple rss feed parser that will execute arbitrary command when specific news are found.

Installation

.. code-block:: console

$ pip install rssnotify

How To use rssnotify

rssnotify use parameters from environment variables, create .env file and run rssnotify from the same directory:

.. code-block:: shell

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:

.. code-block:: shell

13 * * * * bash -c "cd $HOME/.config/rssnotify ; XDG_RUNTIME_DIR=/run/user/$(id -u) rss-notify"

Keywords

rss

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts