Command-line RSS reader utility
Project description
RSS Reader
Description
Command-line RSS reader utility implemented in Python
Installation
$ pip install -r requirements.txt
Interface
Utility provides 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
Usage Examples
> python3 rss_reader.py http://rss.cnn.com/rss/edition_world.rss --limit 1
Feed: CNN.com - RSS Channel - World
Title: His house was demolished because he is Muslim, he says
Date Published: Thu, 21 Apr 2022 05:36:32 GMT
Description: Shahdullah Baig stands among the rubble of what was once his modest two-bedroom home, his belongings buried under debris and broken bricks.
Link: https://www.cnn.com/2022/04/21/india/india-hindu-muslim-violence-khargone-bulldozing-intl-hnk-dst/index.html
====================================================================================
> python3 rss_reader.py http://rss.cnn.com/rss/edition_world.rss --limit 1 --json
[
{
"Feed Source": "CNN.com - RSS Channel - World",
"News Item": {
"Title": "His house was demolished because he is Muslim, he says",
"Publication Date": "Thu, 21 Apr 2022 05:36:32 GMT",
"Description": "Shahdullah Baig stands among the rubble of what was once his modest two-bedroom home, his belongings buried under debris and broken bricks.",
"Link": "https://www.cnn.com/2022/04/21/india/india-hindu-muslim-violence-khargone-bulldozing-intl-hnk-dst/index.html"
}
}
]
Feed Sources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for rss-reader-sardor-irgashev-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b9886873c5e73fff9bef2abad7303dbfeaaf9de9b42bbef3a57601f6feab780 |
|
MD5 | 3e3c7b52b16101d33bc0053e77c4eacb |
|
BLAKE2b-256 | cbc006b6b452592e0d52ce258e817e736fc5da468ba7b62abc8f356f96af88d1 |
Close
Hashes for rss_reader_sardor_irgashev-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b89c16f82f302bd77d0ddf4ce297f81f6823eba97f747550f6b5026448a9c7d |
|
MD5 | bfbb8faa9b983e511589bbce1e5bd91b |
|
BLAKE2b-256 | 97e3493c88c13a779f54e60a2b8dde7440f232792485aa7fc6c0151d17b1f879 |