Skip to content

BBC News

Mode: 🌐 Public · Domain: bbc.com

Commands

CommandDescription
opencli bbc newsLatest BBC News headlines (top stories)
opencli bbc topic <topic>Latest headlines for a single BBC topic feed

Usage Examples

bash
# Top stories
opencli bbc news --limit 5

# Topic-scoped feeds (RSS at feeds.bbci.co.uk/news/<topic>/rss.xml)
opencli bbc topic technology --limit 10
opencli bbc topic world --limit 20
opencli bbc topic business
opencli bbc topic science_and_environment

# JSON output
opencli bbc topic technology -f json

Topics

Valid <topic> values:

Topic slugFeed
worldWorld news
businessBusiness
politicsUK politics
healthHealth
educationEducation & family
science_and_environmentScience & environment
technologyTechnology
entertainment_and_artsEntertainment & arts

Pass any other value and the adapter raises ArgumentError with the full list.

Output Columns

CommandColumns
news(see existing news row schema)
topicrank, title, description, pubDate, url

Prerequisites

  • No browser required — uses the public BBC RSS feeds at feeds.bbci.co.uk.

Released under the Apache-2.0 License.