Oshin123456

News Crawler

Data Analysisv1.0.0
By Oshin123456Updated 2026-05-11news-crawler@clawhub_oshin123456/news-crawler
Report GenerationWeb Scraping#News#日报#总结#新闻

According to AlphaMoat, as of 2026-09, News Crawler has 1,936 downloads and 1 stars — ranked #4,471 of 5,078 AI skills overall, and #347 of 399 in Data Analysis.

Installs
118
Downloads
1.9K
Stars
1
Overall Rank
#4,471
Top 89% overall · Top 87% in Data Analysis
PlatformInstallsDownloadsStarsComments
ClawHub ↗561.9K--
SkillHub ↗1181.9K1—

Platforms count differently and update at different times.

What this skill does

The workflow selects sources, retrieves article lists and content, uses an LLM to summarize, and organizes a digest by category or time. External content may be incomplete or outdated; preserve original links and verify dates and sources.

Profile published 2026-10-29

What you can do with it

  • Fetch a news list from a specified RSS feed
  • Summarize specified pages and organize a digest

When to use it

  • When you need to retrieve content from selected news sources and create a structured summary

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Plan a digest structure for this RSS set and list how to verify original links and publication dates; do not access the network.

Monthly Trend

Downloads1.9K
6571.3K2.0K2026-03 · Downloads 7522026-05 · Downloads 1.3K2026-06 · Downloads 1.4K2026-07 · Downloads 1.6K2026-08 · Downloads 1.7K2026-09 · Downloads 1.9K26-0326-09
Stars1
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.9K—1
2026-081.7K+8.5%-
2026-071.6K+14.6%-
2026-061.4K+11.7%-
2026-051.3K—-
2026-03752—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.5 KB · ClawHub v1.0.0
---
name: news-crawler
description: |
  新闻自动爬取与总结工具。用于抓取指定网站或RSS源的新闻内容,并生成摘要报告。
  使用场景:
  1. 用户要求"获取今日新闻"、"爬取某网站内容"
  2. 用户需要"总结新闻"、"生成日报"
  3. 用户指定具体URL要求抓取内容
  4. 需要监控特定新闻源的最新动态
---
Show all (107 lines)

# News Crawler - 新闻爬虫

自动爬取新闻网站和RSS源,提取内容并生成摘要。

## 快速开始

### 1. 获取RSS新闻列表

查看可用的新闻源:
```bash
python3 scripts/rss_fetcher.py
```

获取指定RSS源的新闻:
```bash
python3 scripts/rss_fetcher.py <rss_url> [max_items]
```

示例:
```bash
python3 scripts/rss_fetcher.py https://www.solidot.org/index.rss 5
```

### 2. 爬取具体网页内容

```bash
python3 scripts/crawl.py <url> [max_length]
```

示例:
```bash
python3 scripts/crawl.py https://example.com/news/article.html 3000
```

## 工作流程

### 生成新闻日报

1. **选择新闻源** - 从常用源中选择或用户提供RSS地址
2. **获取新闻列表** - 使用 rss_fetcher.py 获取最新文章
3. **爬取详细内容** - 对每篇文章使用 crawl.py 获取全文
4. **生成摘要** - 使用 LLM 总结每篇文章的核心内容
5. **整理报告** - 按类别或时间排序,生成结构化日报

### 支持的RSS源

常用中文科技新闻源:
- Solidot: https://www.solidot.org/index.rss
- TechWeb: https://www.techweb.com.cn/rss/all.xml
- 36氪: https://36kr.com/feed

国际源:
- Hacker News: https://news.ycombinator.com/rss
- TechCrunch: https://techcrunch.com/feed/

## 输出格式

rss_fetcher.py 输出:
```json
{
  "items": [
    {
      "title": "文章标题",
      "link": "文章链接",
      "description": "简介",
      "published": "发布时间"
    }
  ],
  "count": 10
}
```

crawl.py 输出:
```json
{
  "url": "原始链接",
  "title": "页面标题",
  "content": "正文内容",
  "length": 5000
}
```

## 注意事项

1. **尊重robots.txt** - 爬取前检查目标网站的爬虫协议
2. **控制频率** - 避免频繁请求同一网站
3. **内容长度** - 默认截取5000字符,可通过参数调整
4. **编码问题** - 脚本已处理UTF-8编码,特殊网站可能需要额外处理

## 扩展开发

如需支持更多功能,可参考:
- [references/rss_sources.md](references/rss_sources.md) - 更多RSS源列表
- 添加定时任务支持(结合 cron)
- 添加飞书/邮件推送功能

Popular in Data Analysis

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.