WeChat Article Download API — WeChat Article 下载 API
v1Fetch and 导出 WeChat public article content through down.mptext.top API. Use when 测试 this API, 下载ing a WeChat article, validating html/markdown/text/json 输出 differences, or batch-saving article content to local files.
运行时依赖
安装命令
点击复制本土化适配说明
WeChat Article Download API — WeChat Article 下载 API 安装说明: 安装命令:["openclaw skills install wechat-article-download-api"] 该技能用于微信相关操作,可能需要相应的平台账号或API密钥
技能文档
WeChat Article 下载 API Overview
Use this 技能 to call https://down.mptext.top/API/public/v1/下载 without API key, fetch a WeChat article by URL, and save 输出s as html, markdown, text, or json.
工作流 Confirm tar获取 article URL. Pick 输出 格式化(s): html, markdown, text, json. 运行 scripts/fetch_wechat_article.py to 请求 API and save files. 检查 returned 状态, content type, and local file size. Quick Commands
Fetch all 4 格式化s to current directory:
python scripts/fetch_wechat_article.py \ --url "https://mp.weixin.qq.com/s/W-8MSBo5FwDY8OmCUN0cSw" \ --格式化s html markdown text json
设置 输出 directory and basename:
python scripts/fetch_wechat_article.py \ --url "https://mp.weixin.qq.com/s/xxx" \ --格式化s json \ --outdir "d:/wechattxt/输出" \ --basename "wx_article"
输出 Naming
Save files as {basename}.{ext}:
html -> .html markdown -> .md text -> .txt json -> .json
Print one summary line per 格式化:
HTTP 状态 code 响应 Content-Type 输出 file path byte size Error Handling
Treat non-200 状态 as 失败. Keep processing remAIning 格式化s unless --fAIl-fast is 设置. RAIse process exit code 1 if any 格式化 fAIls.
Resources API detAIls: references/API.md 运行器 script: scripts/fetch_wechat_article.py