RSS reader - simple command-line utility.
Project description
RSS reader
RSS reader is a command-line utility which receives RSS URL and prints results in human-readable format.
The source for this project is available here.
Installation
$ pip install rss-reader-palina-yudzina
Usage
$ rss-reader (-h | --help)
Show help message and exit
$ rss-reader
Print rss feeds in human-readable format
$ rss-reader --version
Print version info
$ rss-reader --json
Print result as JSON in stdout
$ rss-reader --verbose
Outputs verbose status messages
$ rss-reader--limit LIMIT
Limit news topics, if this parameter provided
$ rss-reader --date DATE
Gets a date in %Y%m%d format. Print news from the specified date
and source (<RSS-SOURCE-LINK>), if it specified
Utility provide the following interface:
usage: rss_reader.py [-h] [--version] [--json] [--verbose] [--limit LIMIT] source
Pure Python command-line RSS reader.
positional arguments: source RSS URL
optional arguments: -h, --help show this help message and exit --version Print version info --json Print result as JSON in stdout --verbose Outputs verbose status messages --limit LIMIT Limit news topics if this parameter provided
#JSON structure:
{
[
{
"feed_title": feed title,
"title": news title,
"summary": news content,
"date": news publication date,
"link": news link },
{
"feed_title": feed title,
"title": news title,
"summary": news content,
"date": news publication date,
"link": news link },
...
] }
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for rss_reader_palina_yudzina-3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fc34151c62e694c33f4bd6c1ea4a13b2bea6866c5056e05fe06c6e2504d831a |
|
MD5 | 0af43281235f48da7aad74bcf12be2f2 |
|
BLAKE2b-256 | 07da7710abfd9616a6e767f63c1ce1230a8c093ddb4aadb5114a8ea69ec0d1af |