Get news items from multiple news sources
Project description
mynews_bot
By Rajarshi Ghosh rajarshig89@gmail.com
Introduction
mynews_bot is a python command line application. It's objective is to collect news from various sources (using corresponding RSS feeds) & provide a terminal interface for viewing the collected data.
Usage
usage: mynews_bot.py [-h] [-s SOURCE] [-t TOP] [-v]
Get news items from multiple news sources
optional arguments:
-h, --help show this help message and exit
-s SOURCE, --source SOURCE
Name of the news source. Available options are: TOI,
NYT, IT, GNEWS, QUINT, REDDIT, BBC, BUZZFEED,
ALJAZEERA, YAHOONEWS, CNN, GUARDIAN, WASHINGTON_POST,
CNBC, REUTERS, INDEPENDENT, BUSINESS_STANDARD
-t TOP, --top TOP Count of news items to show from top order. Default:
10
-v, --version show program's version number and exit
Example
- Get news for source BBC
mynews_bot -s BBC
- Get top 5 news for source CNBC
mynews_bot -s CNBC -t 5
- Get news from all sources
mynews_bot -t 2
News Sources
- Times Of India https://timesofindia.indiatimes.com/rss.cms
- New York Times https://archive.nytimes.com/www.nytimes.com/services/xml/rss/index.html
- India Today https://www.indiatoday.in/rss
- Google News
- Quint
- BBC
- Buzzfeed
- AlJazeera
- Yahoo News
- CNN
- Guardian
- Washington Post
- CNBC
- Reuters
- Independent
- Business Standard
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
mynews_bot-0.1.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
mynews_bot-0.1.0-py3-none-any.whl
(10.4 kB
view hashes)
Close
Hashes for mynews_bot-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c2c2f5f0def8436cfd82c860e71ba4e0f4508860389ebb91dbe4c525a9e5f6b |
|
MD5 | f7fcdd41c258ebcdaa7af735b479aa00 |
|
BLAKE2b-256 | e91648df776f2904a3e6a51580f855b2d754190735127feb387f13176ddb582c |