Fetch and export WeChat public article content through down.mptext.top API. Use when testing this API, downloading a WeChat article, validating html/markdown/text/json output differences, or batch-saving article content to local files.
使用此技能调用 https://down.mptext.top/api/public/v1/download 无需 API 密钥,通过 URL 获取微信公众号文章,并将输出保存为 html、markdown、text 或 json 格式。
获取所有 4 种格式到当前目录:
bash
python scripts/fetchwechatarticle.py \
--url https://mp.weixin.qq.com/s/W-8MSBo5FwDY8OmCUN0cSw \
--formats html markdown text json
设置输出目录和基础文件名:
bash
python scripts/fetchwechatarticle.py \
--url https://mp.weixin.qq.com/s/xxx \
--formats json \
--outdir d:/wechattxt/output \
--basename wx_article
保存文件为 {basename}.{ext}:
每种格式打印一行摘要信息:
将非 200 状态视为失败。
除非设置了 --fail-fast,否则继续处理其余格式。
若任一格式失败,则进程退出码设为 1。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 wechat-article-download-api-1775994603 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 wechat-article-download-api-1775994603 技能
skillhub install wechat-article-download-api-1775994603
文件大小: 6.11 KB | 发布时间: 2026-4-13 12:33