Fetch and display BBC News stories from various sections and regions via RSS feeds. Use when the user asks for BBC news, UK news headlines, world news from BBC, or news from specific BBC sections (technology, business, politics, science, health, entertainment, regional UK news, or world regions).
Fetch top stories from BBC News across different sections and regions.
Fetch top stories:
python3 scripts/bbc_news.py
Fetch from specific section:
python3 scripts/bbc_news.py uk
python3 scripts/bbc_news.py world
python3 scripts/bbc_news.py technology
List all available sections:
python3 scripts/bbc_news.py --list
top - Top stories (default)uk - UK newsworld - World newsbusiness - Business newspolitics - Politicshealth - Health newseducation - Educationscience - Science & Environmenttechnology - Technology newsentertainment - Entertainment & Artsengland - England newsscotland - Scotland newswales - Wales newsnorthern-ireland - Northern Ireland newsafrica - Africa newsasia - Asia newsaustralia - Australia newseurope - Europe newslatin-america - Latin America newsmiddle-east - Middle East newsus-canada - US & Canada newsLimit number of stories:
python3 scripts/bbc_news.py world --limit 5
JSON output:
python3 scripts/bbc_news.py technology --json
Get top 5 UK stories:
python3 scripts/bbc_news.py uk --limit 5
Get Scotland news in JSON:
python3 scripts/bbc_news.py scotland --json
Get latest technology headlines:
python3 scripts/bbc_news.py technology --limit 3
Requires feedparser:
pip3 install feedparser
Python CLI that fetches and displays BBC News stories from RSS feeds. Supports all major BBC sections and regions, with text and JSON output formats.
Complete list of BBC News RSS feed URLs organized by section and region.