Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
rss-reader-sardor-irgashev
Readme
Command-line RSS reader utility implemented in Python
Run pip install rss-reader-sardor-irgashev
pip install -r requirements.txt
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
--date DATE News publishing date
--to-html HTML Convert news to HTML
--to-pdf PDF Convert news to PDF
--colorize Enables colorized output
> python3 rss_reader.py http://rss.cnn.com/rss/edition_world.rss --limit 1
Feed Title: CNN.com - RSS Channel - World
News Title: China's Weibo shows user locations to combat 'bad behavior'
Date Published: Thu, 28 Apr 2022 15:55:04 GMT
Description: Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat "bad behavior" online.
Link: https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html
Image: https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg
====================================================================================
> python3 rss_reader.py http://rss.cnn.com/rss/edition_world.rss --limit 1 --json
[
{
"Feed Title": "CNN.com - RSS Channel - World",
"Feed Source": "http://rss.cnn.com/rss/edition_world.rss",
"News Item": {
"News Title": "China's Weibo shows user locations to combat 'bad behavior'",
"Publication Date": "Thu, 28 Apr 2022 15:55:04 GMT",
"Description": "Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat \"bad behavior\" online.",
"Link": "https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html",
"Image Link": "https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg"
}
}
]
> python3 rss_reader.py http://rss.cnn.com/rss/edition_world.rss --date 20220428 --limit 1
Feed Title: CNN.com - RSS Channel - World
News Title: China's Weibo shows user locations to combat 'bad behavior'
Date Published: Thu, 28 Apr 2022 15:55:04 GMT
Description: Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat "bad behavior" online.
Link: https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html
Image: https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg
====================================================================================
> python3 rss_reader.py http://rss.cnn.com/rss/edition_world.rss --date 20220428 --limit 1 --json
[
{
"Feed Title": "CNN.com - RSS Channel - World",
"Feed Source": "http://rss.cnn.com/rss/edition_world.rss",
"News Item": {
"News Title": "China's Weibo shows user locations to combat 'bad behavior'",
"Publication Date": "Thu, 28 Apr 2022 15:55:04 GMT",
"Description": "Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat \"bad behavior\" online.",
"Link": "https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html",
"Image Link": "https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg"
}
}
]
> python3 rss_reader.py --date 20220428 --limit 1
Feed Title: CNN.com - RSS Channel - World
News Title: China's Weibo shows user locations to combat 'bad behavior'
Date Published: Thu, 28 Apr 2022 15:55:04 GMT
Description: Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat "bad behavior" online.
Link: https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html
Image: https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg
====================================================================================
> python3 rss_reader.py --date 20220428 --json --limit 1
[
{
"Feed Title": "CNN.com - RSS Channel - World",
"Feed Source": "http://rss.cnn.com/rss/edition_world.rss",
"News Item": {
"News Title": "China's Weibo shows user locations to combat 'bad behavior'",
"Publication Date": "Thu, 28 Apr 2022 15:55:04 GMT",
"Description": "Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat \"bad behavior\" online.",
"Link": "https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html",
"Image Link": "https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg"
}
}
]
> python3 rss_reader.py http://rss.cnn.com/rss/edition_world.rss --to-pdf ./ --to-html ./
Creates both HTML and PDF files at the specified location
> rss_reader http://rss.cnn.com/rss/edition_world.rss --limit 1
Feed Title: CNN.com - RSS Channel - World
News Title: China's Weibo shows user locations to combat 'bad behavior'
Date Published: Thu, 28 Apr 2022 15:55:04 GMT
Description: Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat "bad behavior" online.
Link: https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html
Image: https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg
====================================================================================
> rss_reader http://rss.cnn.com/rss/edition_world.rss --limit 1 --json
[
{
"Feed Title": "CNN.com - RSS Channel - World",
"Feed Source": "http://rss.cnn.com/rss/edition_world.rss",
"News Item": {
"News Title": "China's Weibo shows user locations to combat 'bad behavior'",
"Publication Date": "Thu, 28 Apr 2022 15:55:04 GMT",
"Description": "Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat \"bad behavior\" online.",
"Link": "https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html",
"Image Link": "https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg"
}
}
]
> rss_reader http://rss.cnn.com/rss/edition_world.rss --date 20220428 --limit 1
Feed Title: CNN.com - RSS Channel - World
News Title: China's Weibo shows user locations to combat 'bad behavior'
Date Published: Thu, 28 Apr 2022 15:55:04 GMT
Description: Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat "bad behavior" online.
Link: https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html
Image: https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg
====================================================================================
> rss_reader http://rss.cnn.com/rss/edition_world.rss --date 20220428 --limit 1 --json
[
{
"Feed Title": "CNN.com - RSS Channel - World",
"Feed Source": "http://rss.cnn.com/rss/edition_world.rss",
"News Item": {
"News Title": "China's Weibo shows user locations to combat 'bad behavior'",
"Publication Date": "Thu, 28 Apr 2022 15:55:04 GMT",
"Description": "Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat \"bad behavior\" online.",
"Link": "https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html",
"Image Link": "https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg"
}
}
]
> rss_reader --date 20220428 --limit 1
Feed Title: CNN.com - RSS Channel - World
News Title: China's Weibo shows user locations to combat 'bad behavior'
Date Published: Thu, 28 Apr 2022 15:55:04 GMT
Description: Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat "bad behavior" online.
Link: https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html
Image: https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg
====================================================================================
> rss_reader --date 20220428 --json --limit 1
[
{
"Feed Title": "CNN.com - RSS Channel - World",
"Feed Source": "http://rss.cnn.com/rss/edition_world.rss",
"News Item": {
"News Title": "China's Weibo shows user locations to combat 'bad behavior'",
"Publication Date": "Thu, 28 Apr 2022 15:55:04 GMT",
"Description": "Weibo, China's equivalent of Twitter, told users on Thursday it would start to publish their IP locations on their account pages and when they post comments, in a bid to combat \"bad behavior\" online.",
"Link": "https://www.cnn.com/2022/04/28/tech/weibo-user-location-bad-behavior/index.html",
"Image Link": "https://cdn.cnn.com/cnnnext/dam/assets/220428104403-weibo-app-china-file-restricted-super-169.jpg"
}
}
]
> rss_reader http://rss.cnn.com/rss/edition_world.rss --to-pdf ./ --to-html ./
Creates both HTML and PDF files at the specified location
FAQs
Command-line RSS reader utility
We found that rss-reader-sardor-irgashev demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.