BBC News
Fetch top stories from BBC News across different sections and regions.
Quick Start
Fetch top stories:
python3 scripts/bbc_news.pyFetch from specific section:
python3 scripts/bbc_news.py uk
python3 scripts/bbc_news.py world
python3 scripts/bbc_news.py technologyList all available sections:
python3 scripts/bbc_news.py --listAvailable Sections
Main Sections
top- Top stories (default)uk- UK newsworld- World newsbusiness- Business newspolitics- Politicshealth- Health newseducation- Educationscience- Science & Environmenttechnology- Technology newsentertainment- Entertainment & Arts
UK Regional
england- England newsscotland- Scotland newswales- Wales newsnorthern-ireland- Northern Ireland news
World Regions
africa- Africa newsasia- Asia newsaustralia- Australia newseurope- Europe newslatin-america- Latin America newsmiddle-east- Middle East newsus-canada- US & Canada news
Options
Limit number of stories:
python3 scripts/bbc_news.py world --limit 5JSON output:
python3 scripts/bbc_news.py technology --jsonExamples
Get top 5 UK stories:
python3 scripts/bbc_news.py uk --limit 5Get Scotland news in JSON:
python3 scripts/bbc_news.py scotland --jsonGet latest technology headlines:
python3 scripts/bbc_news.py technology --limit 3Dependencies
Requires feedparser:
pip3 install feedparserResources
scripts/bbc_news.py
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.
references/feeds.md
Complete list of BBC News RSS feed URLs organized by section and region.