This pulls article content from 12 news platforms (WeChat, Toutiao, BBC, CNN, Twitter, Quora, and six others) and spits out both JSON and Markdown files. It auto-detects the platform from the URL, handles the scraping with curl_cffi for browser simulation, and includes retry logic via tenacity. Twitter support works for public posts without auth, but protected tweets need cookies. The whole thing is self-contained with no external dependencies beyond the Python packages, so you can drop it into other projects. Main use case is when you need structured article data or clean Markdown instead of dealing with different site layouts yourself. Just run it with uv, point it at a URL, and it handles the extraction.

skills.sh installs
408
GitHub stars
639
last updated
Aug 21, 2026

Install

$ npx -y skills add nanmicoder/newscrawler --skill news-extractor --agent claude-code

Installs into .claude/skills of the current project.

Files

News Extractor Skill

从主流新闻平台提取文章内容,输出 JSON 和 Markdown 格式。

标准兼容、独立可迁移:本目录遵循 Agent Skills 规范,包含完整的 SKILL.md、脚本与依赖,不依赖 NewsCrawler 的其他模块。通过兼容的 Skills 安装器安装后,运行一次 uv sync 即可使用。

运行环境需要 Python 3.9+、uv 和目标站点的网络访问。

支持平台 (12)

中文平台

平台IDURL 示例
微信公众号wechathttps://mp.weixin.qq.com/s/xxxxx
今日头条toutiaohttps://www.toutiao.com/article/123456/
网易新闻neteasehttps://www.163.com/news/article/ABC123.html
搜狐新闻sohuhttps://www.sohu.com/a/123456_789
腾讯新闻tencenthttps://news.qq.com/rain/a/20251016A07W8J00

国际平台

平台IDURL 示例
BBC Newsbbchttps://www.bbc.com/news/articles/c797qlx93j0o
CNN Newscnnhttps://edition.cnn.com/2025/10/27/uk/article-slug
Twitter/Xtwitterhttps://x.com/user/status/123456789
Lenny's Newsletterlennyhttps://www.lennysnewsletter.com/p/article-slug
Naver Blognaverhttps://blog.naver.com/username/123456
Detik Newsdetikhttps://news.detik.com/internasional/d-123456/slug
Quoraquorahttps://www.quora.com/question/answers/123456

依赖安装

Sponsors

Details

Repository
github.com/nanmicoder/newscrawler
Categories
Documentation, Marketing & SEO
First seen
Jun 3, 2026

More from nanmicoder/newscrawler

All 2
1secondsky avatarclaude-hook-writersecondsky/claude-skillsExpert guidance for writing secure, reliable, and performant Claude Code hooks - validates design decisions, enforces best practices, and prevents common pitfal408skills.sh installs
2davila7 avatargeopandasdavila7/claude-code-templatesPython library for working with geospatial vector data including shapefiles, GeoJSON, and GeoPackage files. Use when working with geographic data for spatial an407skills.sh installs
3mrgoonie avatarrepomixmrgoonie/claudekit-skillsPackage entire code repositories into single AI-friendly files using Repomix. Capabilities include pack codebases with customizable include/exclude patterns, ge406skills.sh installs
4secondsky avatarplan-interviewsecondsky/claude-skillsAdaptive interview-driven spec generation. Use when converting rough plans into comprehensive specifications, needing structured requirements gathering, or tran406skills.sh installs
5umbraco avatarumbraco-property-editor-uiumbraco/umbraco-cms-backoffice-skillsImplement property editor UIs in Umbraco backoffice using official docs405skills.sh installs
6fredm00n avatarframer-code-components-overridesfredm00n/framerlabsCreate Framer Code Components and Code Overrides. Use when building custom React components for Framer, writing Code Overrides (HOCs) to modify canvas elements,404skills.sh installs