跳到正文
TakoAPI
返回技能列表

bbc-news

由 ddrayne 提供

Notes & PKM
4.5k下载量由 clawskills.sh 提供
4星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Run bbc_news.py with the 'technology' section argument

  2. 2

    Apply --limit 5 to cap results

  3. 3

    Pass --json flag to request structured output

  4. 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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接