文档

WeChat Article Download API

试用

Fetch and export WeChat public article content through down.mptext.top API. Use when testing this API, downloading a WeChat article, validating html/markdown...

它能做什么

Fetch and export WeChat public article content through down.mptext.top API. Use when testing this API, downloading a WeChat article, validating html/markdown...

技能文档

WeChat Article Download API

Overview

Use this skill to call https://down.mptext.top/api/public/v1/download without API key, fetch a WeChat article by URL, and save outputs as html, markdown, text, or json.

Workflow

  1. Confirm target article URL.
  2. Pick output format(s): html, markdown, text, json.
  3. Run scripts/fetch_wechat_article.py to request API and save files.
  4. Check returned status, content type, and local file size.

Quick Commands

Fetch all 4 formats to current directory:

python scripts/fetch_wechat_article.py \
  --url "https://mp.weixin.qq.com/s/W-8MSBo5FwDY8OmCUN0cSw" \
  --formats html markdown text json

Set output directory and basename:

python scripts/fetch_wechat_article.py \
  --url "https://mp.weixin.qq.com/s/xxx" \
  --formats json \
  --outdir "d:/wechattxt/output" \
  --basename "wx_article"

Output Naming

Save files as {basename}.{ext}:

  • html -> .html
  • markdown -> .md
  • text -> .txt
  • json -> .json

Print one summary line per format:

  • HTTP status code
  • response Content-Type
  • output file path
  • byte size

Error Handling

Treat non-200 status as failure. Keep processing remaining formats unless --fail-fast is set. Raise process exit code 1 if any format fails.

Resources

  • API details: references/api.md
  • Runner script: scripts/fetch_wechat_article.py

相关技能

Extract public WeChat Official Account articles from mp.weixin.qq.com links or saved HTML into clean Markdown or structured JSON, including title, account na...

5 次安装

Save WeChat Official Account articles and image-note / 小绿书 pages from mp.weixin.qq.com into a user-specified local folder as Markdown plus local assets. Use...

3 次安装

Extract, summarize, and synthesize WeChat public account articles into structured knowledge cards

5 次安装

使用 Playwright headed 模式 + 真实系统浏览器抓取微信公众号文章。 当用户给出 mp.weixin.qq.com 链接、说要抓取/下载公众号文章、 或遇到"环境异常"验证页时,必须使用本技能。 本技能会弹出真实浏览器窗口绕过微信反爬,提取文章标题、作者、正文, 并同时保存 .md 和 .htm...

Extract the title, author, publish date, and full body text from Weixin official account article links on mp.weixin.qq.com. Use this skill when a user wants...

20 次安装

从微信公众号抓取文章并保存为本地 Markdown 文件。当用户提到"抓取公众号"、"获取公众号文章"、"下载微信文章"、"爬公众号"、"保存公众号内容",或指定公众号名称和日期范围想要获取文章时,使用此 skill。抓取完成后记录所有保存的 md 文件路径,方便用户后续问答。