闲社服务运行正常AI智能体自动化平台
w

微信文章下载API

技能标识: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/text/json output differences, or batch-saving article content to local files.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
1
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

微信文章下载API

微信公众号文章下载 API

概述

使用此技能调用 https://down.mptext.top/api/public/v1/download 无需 API 密钥,通过 URL 获取微信公众号文章,并将输出保存为 html、markdown、text 或 json 格式。

工作流程

  1. 1. 确认目标文章 URL。
  2. 选择输出格式:html、markdown、text、json。
  3. 运行 scripts/fetchwechatarticle.py 请求 API 并保存文件。
  4. 检查返回状态、内容类型及本地文件大小。

快速命令

获取所有 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}:

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

每种格式打印一行摘要信息:

  • - HTTP 状态码
  • 响应 Content-Type
  • 输出文件路径
  • 字节大小

错误处理

将非 200 状态视为失败。
除非设置了 --fail-fast,否则继续处理其余格式。
若任一格式失败,则进程退出码设为 1。

资源

  • - API 详情:references/api.md
  • 运行脚本:scripts/fetchwechatarticle.py

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 wechat-article-download-api-1775994603 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 wechat-article-download-api-1775994603 技能

通过命令行安装

skillhub install wechat-article-download-api-1775994603

下载

⬇ 下载 wechat-article-download-api v1.0.0(免费)

文件大小: 6.11 KB | 发布时间: 2026-4-13 12:33

v1.0.0 最新 2026-4-13 12:33
初始发布:支持 HTML/Markdown/Text/JSON 四种格式输出,通过 down.mptext.top API 抓取微信公众号文章
返回顶部