wechat-article-fetcher
微信公众号文章抓取工具。当用户发送 mp.weixin.qq.com 链接时自动触发,将文章内容提取为 Markdown/文本,无需 API 密钥。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alexduming/wechat-article-fetcher-alexdu微信公众号文章抓取(wechat-article-fetcher)
安装方法
将本目录(wechat-article-fetcher/)复制到 OpenClaw 的 skills 目录下即可:
~/.openclaw/skills/wechat-article-fetcher/SKILL.md
无需配置、无需密钥、即装即用。
触发条件
用户消息中包含 mp.weixin.qq.com 链接时自动触发。
核心接口(一行命令)
curl -s "https://down.mptext.top/api/public/v1/download?url=<URL编码>&format=markdown"
参数说明
| 参数 | 说明 |
|---|---|
url | 文章链接,需 URL 编码 |
format | 输出格式:html(默认)/ markdown / text / json |
完整使用示例
在 OpenClaw 中使用(示例提示词)
当用户发送微信公众号链接时,运行以下命令获取文章内容:
curl -s "https://down.mptext.top/api/public/v1/download?url=$(python3 -c "import urllib.parse; print(urllib.parse.quote(input()))" <<< 'https://mp.weixin.qq.com/s/xxxx')&format=markdown"
或使用 Python 脚本:
#!/usr/bin/env python3
import urllib.request, urllib.parse, sys
url = sys.argv[1] if len(sys.argv) > 1 else input("微信文章链接: ")
encoded = urllib.parse.quote(url, safe='')
api_url = f"https://down.mptext.top/api/public/v1/download?url={encoded}&format=markdown"
req = urllib.request.Request(api_url, headers={'User-Agent': 'Mozilla/5.0'})
with urllib.request.urlopen(req, timeout=20) as r:
print(r.read().decode('utf-8'))
使用格式
# 直接指定链接
curl -s "https://down.mptext.top/api/public/v1/download?url=https%3A%2F%2Fmp.weixin.qq.com%2Fs%2Fxxxx&format=markdown"
# 在 Python 中使用
python3 -c "
import urllib.parse
url = 'https://mp.weixin.qq.com/s/xxxx'
encoded = urllib.parse.quote(url, safe='')
print(f'https://down.mptext.top/api/public/v1/download?url={encoded}&format=markdown')
"
注意事项
- 无需 API 密钥,接口公开免费
- 部分文章可能有字数限制或反爬处理
- 图片链接有时效性,建议尽快保存
- 如
markdown格式抓取失败,可尝试换text格式 - 部分文章被发布者设置了禁止转载,接口可能无法获取全文
来源
使用 mptext.top 公共接口:https://down.mptext.top
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alexduming-wechat-article-fetcher-alexdu": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
xhs-mcp-installer
一键安装并启动小红书 MCP 服务(xiaohongshu-mcp)。当用户说"帮我安装小红书MCP"、"安装 xhs-mcp"、"配置小红书 MCP"、"帮我搞个小红书"、或提供 GitHub 链接 https://github.com/xpzouying/xiaohongshu-mcp 时触发。自动检测系统、下载二进制、配置开机自启、启动服务。
config-modification-safety
OpenClaw 配置安全守护。防止 AI 改坏配置文件的双层守护架构,支持 macOS 和 Windows。 触发场景:AI 修改配置文件后系统崩溃、JSON 语法错误导致 Gateway 无法启动、想给 OpenClaw 配置安全网。 核心功能: - 第一层(铜墙):配置文件变更时自动校验 JSON,语法错误 1 秒内回滚 - 第二层(铁壁):每 5 分钟检查 Gateway 健康状态,崩溃自动恢复 - 应急回滚:一行命令恢复到最后一次正常配置 安装后用户获得:铜墙铁壁级别的配置保护,AI 改配置再也不怕搞崩系统了。
evolution档案
个人进化追踪系统 — 不是冷冰冰的数据,是你的成长伴侣。记录心流、低谷、习惯、情绪,让每一次进化都有温度。
openclaw-growth-tracker
OpenClaw 个人成长追踪器 — 记录你在使用 OpenClaw 过程中的成长轨迹。 触发场景: - 想了解今天/本周的成长情况:"我的成长怎么样"、"今天做了什么" - 想看数据化的进展报告:"给我看数据"、"量化报告" - 完成重要任务后:"记录这个成就"、"完成任务" - 想回顾一段时间的变化:"周报"、"月度总结" - 每天结束时想看看:"今日复盘"、"今天效率如何" 核心理念: 成长不是靠感觉,而是靠记录。每一次对话、每一个任务、每一次突破, 都值得被看见。用数据说话,让进步看得见。