技能标识:news-crawler
|
自动爬取新闻网站和RSS源,提取内容并生成摘要。
查看可用的新闻源:
bash
python3 scripts/rss_fetcher.py
获取指定RSS源的新闻:
bash
python3 scripts/rssfetcher.py
示例:
bash
python3 scripts/rss_fetcher.py https://www.solidot.org/index.rss 5
bash
python3 scripts/crawl.py
示例:
bash
python3 scripts/crawl.py https://example.com/news/article.html 3000
常用中文科技新闻源:
国际源:
rss_fetcher.py 输出:
json
{
items: [
{
title: 文章标题,
link: 文章链接,
description: 简介,
published: 发布时间
}
],
count: 10
}
crawl.py 输出:
json
{
url: 原始链接,
title: 页面标题,
content: 正文内容,
length: 5000
}
如需支持更多功能,可参考:
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 news-crawler-1776107712 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 news-crawler-1776107712 技能
skillhub install news-crawler-1776107712
文件大小: 6.28 KB | 发布时间: 2026-4-15 13:34