Skip to main content

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.

Installation

pip install mynews-bot

Usage

usage: mynews-bot [-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
  • New York Times
  • India Today
  • Google News
  • Quint
  • Reddit
  • BBC
  • Buzzfeed
  • AlJazeera
  • Yahoo News
  • CNN
  • Guardian
  • Washington Post
  • CNBC
  • Reuters
  • Independent
  • Business Standard

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mynews-bot, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size mynews_bot-0.1.1-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mynews_bot-0.1.1.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page