SuperAPI AI 工具集

yahoo-network-research

写作与研究

查看项目

更新于 10-15 20:29

技能介绍

用途:通过 Crawlora API 拉取 Yahoo 编辑内容网络(Autos、Entertainment、Health、Life、News、Shopping、Sports、Tech)的资讯流与文章全文,返回规范化 JSON,无需自行抓取 yahoo.com。Yahoo Finance 与 Yahoo Search 不在范围内,另有独立技能。

主要能力:简单垂直(Autos、Entertainment、Health、Tech)提供 /yahoo-{vertical}/home、/yahoo-{vertical}/category(分页 page)、/yahoo-{vertical}/article(url);Yahoo Life 无 category 层。Yahoo News 额外支持 /yahoo-news/comments(content_id,游标分页)、/yahoo-news/comments/replies、/yahoo-news/suggest(q)。Yahoo Shopping 提供 /yahoo-shopping/stores、/store(store)、/shopping-lists、/shopping-list(list)。Yahoo Sports 最深,含比分、排名、球队、球员、高尔夫、MMA、赛车、网球、奥运奖牌等 18 个端点。

使用方式:先在 https://crawlora.net 获取免费 API key(每月 2000 credits,无需信用卡),设置环境变量 CRAWLORA_API_KEY,请求发往 https://api.crawlora.net/api/v1。用 scripts/crawlora.sh 调用,避免 key 出现在命令行参数中。示例:scripts/crawlora.sh /yahoo-news/category category="politics" | jq '.';scripts/crawlora.sh /yahoo-sports/scoreboard league="nfl" | jq '.'。完整端点见 reference/endpoints.md。

适用场景:查询 Yahoo 各版块最新资讯、获取文章全文、阅读新闻评论、查看体育比分与排名、高尔夫赛程与领先榜、UFC 赛事、F1/NASCAR 赛果、网球排名、奥运奖牌、购物优惠等。

限制:仅公开数据;按成功计费(仅 2xx 计费),免费额度每月 2000 credits;key 缺失或无效返回 401,且只能存于 CRAWLORA_API_KEY,禁止硬编码或提交。文章端点需使用来自对应 home/category 响应的规范 URL,手工拼接不保证可用。category 值因站点导航而异,需从响应中读取。MMA、网球赛程/比分、奥运奖牌等端点无参数,始终返回 Yahoo 当前快照。