Wechat Article Fetcher
Fetches, parses, and saves WeChat Official Account articles with metadata, images, and Markdown output.
- CCM score
- 55 of 100
- skills.sh installs
- 339
- GitHub stars
- 300
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers single and batch article fetching, metadata extraction (title, author, account name, body text, cover image), and local saving with images
- Includes
scripts/fetch_wechat_article.pywith flags--output-dir,--json,--no-images, and--interval(default 3 seconds) to avoid anti-scraping blocks - Enforces the Referer header and mobile User-Agent needed for image downloads and access, and recommends short
/s/links over__bizlinks to avoid captchas - Designed for Python users who want to read, convert, or archive mp.weixin.qq.com articles, either from the command line or as a library
Install
$ npx -y skills add wwwzhouhui/skills_collection --skill wechat-article-fetcher -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
微信公众号文章获取器
获取、解析并保存微信公众号文章,支持单篇和批量下载、元数据提取、图片下载和 Markdown 转换。
快速开始
获取单篇文章:
python scripts/fetch_wechat_article.py "https://mp.weixin.qq.com/s/xxxxx"
批量获取多篇文章(空格分隔):
python scripts/fetch_wechat_article.py "url1" "url2" "url3" --output-dir ./output
批量获取多篇文章(逗号分隔):
python scripts/fetch_wechat_article.py "url1,url2,url3" --output-dir ./output
仅输出元数据(不保存文件):
python scripts/fetch_wechat_article.py "https://mp.weixin.qq.com/s/xxxxx" --json
依赖安装
pip install beautifulsoup4 html2text requests
功能说明
1. 获取文章并保存到本地
python scripts/fetch_wechat_article.py "<url>" --output-dir ./output
输出目录结构:
output/<公众号名称>/<日期>_<标题>/
├── index.html # 格式化的独立HTML文件
├── article.md # Markdown版本
├── meta.json # 文章元数据
└── images/ # 下载的图片
2. 仅提取元数据
python scripts/fetch_wechat_article.py "<url>" --json
返回 JSON 包含:title(标题)、author(作者)、account_nickname(公众号名称)、description(摘要)、create_time(发布时间)、content_text(正文文本)、content_markdown(Markdown内容)、cover_image(封面图)、source_url(原文链接)。
3. 批量下载多篇文章
空格分隔多个链接:
Details
- Repository
- github.com/wwwzhouhui/skills_collection
- Categories
- Browser Automation & Scraping, Python
- First seen
- Jun 3, 2026
Questions
What does the wechat-article-fetcher skill do?
wechat-article-fetcher fetches and parses WeChat Official Account articles from mp.weixin.qq.com links. It extracts the title, author, account name, body text, images and metadata, and can save the article as Markdown with images.
How do I install the wechat-article-fetcher skill?
Run npx -y skills add wwwzhouhui/skills_collection --skill wechat-article-fetcher -y in a project to install it. Once installed, wechat-article-fetcher lets the agent read, download or convert WeChat articles from a shared link.
What does wechat-article-fetcher need to run?
wechat-article-fetcher runs its Python script fetch_wechat_article.py and needs the beautifulsoup4, html2text and requests packages, installed with pip. Prefer the short /s/ links, since long links with a __biz parameter may trigger a captcha.
Where does wechat-article-fetcher sit among browser automation skills?
wechat-article-fetcher is in the Browser Automation and Scraping category on Claude Marketplaces. It is a scraping skill focused on WeChat article links, while agent-browser and playwright-cli cover general browser control.
More from wwwzhouhui/skills_collection
All 5Similar to Wechat Article Fetcher
More Browser Automation & Scrapingwechat-article-extractorfreestylefly/wechat-article-extractor-skill3.9K installsExtracts metadata, content, and error states from WeChat Official Account articles for structured output.
wechat-article-to-markdownjackwener/wechat-article-to-markdown951 installsCommand-line tool that fetches WeChat Official Account articles and saves them as local Markdown with images.
wechat-article-publisheriamzifei/wechat-article-publisher-skill2.6K installsCommand-line publisher that sends Markdown or HTML articles to WeChat Official Account drafts through an API.
web-content-fetchershirenchuang/web-content-fetcher3K installsExtract article content from any URL as clean Markdown, with Scrapling primary and Jina Reader fallback.
wechat-article-searchwuchubuzai2018/expert-skills-hub1.6K installsSearch WeChat public-account articles by keyword and return titles, summaries, dates, source accounts, and links.
wechat-article-makeralpha-hecoding/awesome-skills129 installsFull-featured WeChat article workflow that generates, cleans, styles, and publishes posts via API or browser.