본문으로 건너뛰기
cccskills
무료GitHub에 공개

common-fetcher

统一采集框架 - 支持 RSS/Web/API,207+ 采集源,AI 评分/分类/摘要

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md5.3 KB
  • _meta.json133 B
  • .clawhub/origin.json146 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Common-Fetcher

统一采集框架,为 AI Agent 提供强大的信息采集能力。

功能特性

  • 🕸️ 多源支持: RSS、网页抓取、API 集成
  • 📊 大规模: 207+ 预配置采集源
  • 🤖 AI 处理: 自动评分、分类、摘要生成
  • ⚡ 高性能: <600ms/30 篇文章
  • ✅ 高可靠: 100% 成功率(已验证解析器)

支持的行业

🏭 煤炭行业(27 个采集源)

  • 国家级:发改委、能源局等 6 个
  • 省级:4 个
  • 市级:3 个
  • 数据平台:4 个
  • 企业自媒体:10 个

🏠 房地产行业(23 个采集源)

  • 国家级:住建部、央行等 5 个
  • 省级:1 个
  • 市级:3 个
  • 数据平台:4 个
  • 企业自媒体:10 个

🤖 AI 技术(129 个采集源)

  • RSS 源:90 个(Hacker News, MIT Tech Review 等)
  • 网站/自媒体:39 个

使用方法

CLI 方式

# 抓取煤炭行业数据
common-fetcher --industry coal --output daily.md

# 抓取房地产行业数据
common-fetcher --industry realestate --output daily.md

# 抓取 AI 技术数据
common-fetcher --industry ai --output daily.md

# 自定义采集源
common-fetcher --config custom-sources.json --output daily.md

Node.js API

import { CommonFetcher } from 'common-fetcher';

const fetcher = new CommonFetcher({
  industry: 'coal',
  maxArticles: 50,
  timeout: 15000,
});

const result = await fetcher.fetch();
console.log(`成功抓取 ${result.totalArticles} 篇文章`);

OpenClaw 集成

在 openclaw.json 中配置:

{
  "skills": {
    "common-fetcher": {
      "enabled": true,
      "industry": "coal",
      "schedule": "0 8 * * *"
    }
  }
}

架构设计

┌─────────────────────────────────────────┐
│         Common-Fetcher                  │
├─────────────────────────────────────────┤
│ Source Layer (采集源层)                  │
│ ├─ RSS 源                                │
│ ├─ 网页源                                │
│ └─ API 源                                │
├─────────────────────────────────────────┤
│ Fetcher Layer (抓取层)                   │
│ ├─ RSS Fetcher (并发 + 超时)             │
│ ├─ Web Scraper (cheerio)                 │
│ └─ Cache Manager                         │
├─────────────────────────────────────────┤
│ Processor Layer (处理层)                 │
│ ├─ 去重 (标题/URL 哈希)                   │
│ ├─ 时间过滤                              │
│ ├─ AI 评分/分类                          │
│ └─ AI 摘要                              │
├─────────────────────────────────────────┤
│ Output Layer (输出层)                    │
│ ├─ Markdown 报告                          │
│ ├─ JSON 数据                             │
│ └─ 多渠道推送                            │
└─────────────────────────────────────────┘

性能指标

解析器文章数/次耗时成功率
观点地产网30 篇605ms100%
煤炭资源网30 篇455ms100%
房天下17 篇579ms100%
MIT Tech Review9 篇393ms100%
总计86 篇/次~2s100%

配置说明

采集源配置

在 config/ 目录下管理采集源:

  • coal-sources.json - 煤炭行业采集源
  • realestate-sources.json - 房地产行业采集源
  • ai-sources.json - AI 技术采集源

解析器开发

自定义解析器参考 src/parsers/ 目录:

export function parseGuandian(html: string, baseUrl: string): Article[] {
  // 解析逻辑
}

开发计划

已实现 ✅

  • 4 层架构设计
  • 6 个解析器(4 个生产就绪)
  • 207 个采集源配置
  • CLI 工具
  • Node.js API

进行中 🔄

  • 浏览器控制(Playwright)
  • AI 验证挑战自动解决
  • 缓存机制

计划中 ⏳

  • 更多行业支持
  • 分布式抓取
  • 实时监控告警

贡献指南

欢迎提交 Issue 和 PR!

  1. Fork 项目
  2. 创建特性分支
  3. 提交改动
  4. 推送到分支
  5. 创建 Pull Request

许可证

MIT License

联系方式

  • GitHub: [你的 GitHub]
  • Moltbook: ClawdOpenClaw20260223
  • Email: [你的邮箱]

Common-Fetcher - 为 AI Agent 提供强大的信息采集能力 🕸️

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Track and synthesize current AI hotspots into a bilingual HTML daily report. Use when the user says "AI热点", asks for AI日报/AI日报 HTML/AI hot topics, or wants the best recent AI products, papers, viewpoints, and cognition-shifting items from AI/news aggregators.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

huangruiteng/CS-Notes4천2026년 10월 19일 업데이트

Fetch and extract full text from arxiv paper HTML pages. Invoke when user asks to read an arxiv paper, analyze a paper's content, or when given an arxiv ID/URL.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

huangruiteng/CS-Notes4천2026년 10월 19일 업데이트

ask-echo

무료

使用火山引擎 Ask-Echo 融合信息搜索 API 进行 web 搜索、web 搜索总结版和图片搜索。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

huangruiteng/CS-Notes4천2026년 10월 19일 업데이트

Build or update the BlueBubbles external channel plugin for Clawdbot (extension package, REST send/probe, webhook inbound).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

huangruiteng/CS-Notes4천2026년 10월 19일 업데이트

Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

huangruiteng/CS-Notes4천2026년 10월 19일 업데이트

Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution time and memory usage, compare against baseline implementations, and generate detailed optimization reports. Supports C++, Python, Java, Rust, and other languages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

huangruiteng/CS-Notes4천2026년 10월 19일 업데이트

huangruiteng의 스킬 모두 보기

이 스킬의 문제 신고