bbc-news
bởi ddrayne
Notes & PKMTóm tắt
Fetch and display BBC News stories from various sections and regions.
Mô tả
Kỹ năng này làm gì
Fetches BBC News stories from RSS feeds across sections like technology, business, health, and regional UK and world areas. Supports filtering by section, limiting result count, and outputting in JSON format.
Pulls directly from BBC RSS feeds without requiring a browser or API key, making it easy to integrate news fetching into scripts and automated workflows.
Khi nào nên dùng
- Getting UK headlines before a morning meeting
- Checking BBC technology news for industry updates
- Monitoring a specific world region during breaking events
- Pulling structured JSON news data into a script or pipeline
- Browsing Scotland or Wales regional stories
Quy trình ví dụ
User asks: Get the top 5 technology stories from BBC News in JSON format
- 1
Run bbc_news.py with the 'technology' section argument
- 2
Apply --limit 5 to cap results
- 3
Pass --json flag to request structured output
- 4
Parse returned JSON for titles, links, and summaries
A JSON array of 5 BBC technology stories with titles, URLs, and descriptions
Yêu cầu
- feedparser Python package (pip3 install feedparser)
Cài đặt
clawhub install ddrayne/bbc-newsChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.