Socket
Socket
Sign inDemoInstall

rss-reader-bektur

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rss-reader-bektur

RSS reader for final task in Python educational course


Maintainers
1

Readme

CLI utility for reading RSS news from given URL

Provides rss-reader command that receives single positional argument "source", that should be the URL for rss news. Utility will collect data from that URL and print out collected data in human readable format.

Usage example:

rss-reader "https://news.yahoo.com/rss/" --limit 1

Output:

Feed: Yahoo News - Latest News & Headlines 


Title: Woman whose rape DNA led to her arrest sues San Francisco

Date: 2022-09-12T20:58:22Z

Link: https://news.yahoo.com/woman-whose-rape-dna-led-205822755.html

Optional arguments:

--limit Set the maximum amount of output messages

--verbose Increase output verbosity

--version Show current version

--json Set output format to JSON.

--date Show cached entry for given date in %Y%m%d format

--to-html Receives path where HTML file should be created and writes results in it

--to-pdf Receives path where PDF file should be created and writes results in it

Example of JSON output:

{"Feed": "Yahoo News - Latest News & Headlines",
"Entries": [{"Title": "Woman whose rape DNA led to her arrest sues San Francisco",
"Date": "2022-09-12T20:58:22Z",
"Link": "https://news.yahoo.com/woman-whose-rape-dna-led-205822755.html"},]}

Keywords

FAQs


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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc