bbc-news
بواسطة ddrayne
Notes & PKMموجز
Fetch and display BBC News stories from various sections and regions.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
المتطلبات
- feedparser Python package (pip3 install feedparser)
التثبيت
clawhub install ddrayne/bbc-newsشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.