wechat-article-exporter README

The project's README from github.com/wechat-article/wechat-article-exporter. As one markdown file: README.md.

Logo

wechat-article-exporter

GitHub stars GitHub forks GitHub License Package Version

[!WARNING] 本项目已停止维护(2026-07-30)。

项目所依赖的微信上游核心接口已被官方关闭,且大概率不会再开放。这是整个项目赖以工作的地基,无法通过修改代码绕过 —— 开箱即用的一键同步公众号文章已不复存在。完整说明见 关于本项目停止维护的说明 #200。

  • 仓库不会删除,将转为只读归档。代码、文档与 issue 讨论均留在原处,任何人都可以继续阅读、fork、学习和二次开发。
  • 不再接受新的 issue 和 PR,也不会再有新版本,请不要等待「明天可能修好」。
  • 在线网站的域名将于 2026-10-30 到期,届时将无法访问,请在此之前导出你需要保留的数据。
  • 你已经同步过的文章都还是你的,它们存放在你自己的设备上,不受任何接口影响。

一款在线的 微信公众号文章批量下载 工具,支持导出阅读量与评论数据,无需搭建任何环境,可通过 在线网站 使用(域名 2026-10-30 到期,届时将无法访问),同时也支持 docker 私有化部署和 Cloudflare 部署。

支持下载各种文件格式,其中 HTML 格式可100%还原文章排版与样式。

:books: 如何使用?

该工具的使用教程已移至 文档站点。

:dart: 特性

公号三刀

同一作者的另一个项目 —— 公号三刀。

受同样的接口关闭影响,它也无法再批量同步公众号历史文章。目前仅支持抓取非群发等少量文章,阅读量与评论数据的抓取仍然可用。

如果你的需求在这个范围内,可以去试试。

:heart: 感谢

:star: 支持

如果你觉得本项目帮助到了你,请给作者一个免费的 Star,感谢你的支持!

:bulb: 原理

在公众号后台写文章时支持搜索其他公众号的文章功能,以此来实现抓取指定公众号所有文章的目的。

:memo: 许可

MIT

:red_circle: 声明

本程序承诺,不会利用您扫码登录的公众号进行任何形式的私有爬虫,也就是说不存在把你的账号作为公共账号为别人爬取文章的行为,也不存在类似账号池的东西。

您的公众号只会服务于您自己的抓取文章的目的。

通过本程序获取的公众号文章内容,版权归文章原作者所有,请合理使用。若发现侵权行为,请联系我们处理。

:chart_with_upwards_trend: Star 历史

Star History Chart

wechat-article-exporter (wechat-article/wechat-article-exporter)

docx
Searching Database…

What is this?An open-source batch downloader for WeChat Official Account articles: search any account by keyword and export its posts, including read counts and comment data.
Is this a website I visit, or a program I have to install?A web app you used in the browser with zero local setup, not a desktop program. The same app could also be deployed privately with Docker or on Cloudflare.
Can I still use it today?No — maintenance stopped on 2026-07-30: WeChat shut down the upstream interfaces the whole tool depended on, and out-of-the-box bulk sync can't be fixed in code. The hosted site's domain expires 2026-10-30, so export what you need before then; articles already synced remain on your device.
Did I need my own WeChat account to use it, and was that safe?Yes — you logged in by scanning a QR code with your own WeChat Official Account. The author pledged your account would never be used to crawl for others or pooled; it only served your own downloads.
How did it fetch articles without an official WeChat API?It exploited a feature of the Official Account backend: while writing a post, editors can search other accounts' published articles, and the tool rode that search to enumerate a target account's entire history.
What exactly could it export?Articles as html/json/excel/txt/md/docx — the HTML export bundles images and styles so posts render 100% identical to the original — plus comments, comment replies, read counts and share counts. The metrics part required packet-capturing your own credentials first.
What happens to the repository now?It stays online as a read-only archive: code, docs and issue discussions remain in place, so anyone can still read, fork, learn from it or build on it. There will be no new releases, and new issues or PRs are no longer accepted.
What is GongHaoSanDao (公号三刀), the author's other project?A sister tool for WeChat Official Accounts hit by the same interface shutdown: it can no longer bulk-sync an account's history, but read-count and comment scraping still works there, along with grabbing a few non-mass-posted articles.
Size
25.9 MB
Stars
13.1K
Age
2y
Commits · 90 Days