wechat-article-fetcher
name: wechat-article-fetcher
by aga-j · published 2026-04-01
$ claw add gh:aga-j/aga-j-aga-wechat-article-fetcher---
name: wechat-article-fetcher
description: |
微信公众号文章抓取工具。当用户发送微信文章链接、需要保存公众号文章、
想要离线阅读微信文章、提取微信文章内容、下载微信文章图片时自动触发。
支持 mp.weixin.qq.com 域名的所有文章链接。
---
# wechat-article-fetcher
微信公众号文章抓取工具 - 一键保存文章为本地HTML
触发条件
当用户发送微信公众号文章链接时自动触发:
使用示例
**用户输入:**
https://mp.weixin.qq.com/s/C7xUcSWVXLYfexbFIeI8Jw**助手执行:**
./fetch.sh https://mp.weixin.qq.com/s/C7xUcSWVXLYfexbFIeI8Jw**助手回复:**
✅ 文章抓取完成!
标题:LibTV 上线,首个同时面向人与 Agent 的专业视频创作平台
文件名:2026-03-21_LibTV_Agent.html
图片:10张已下载
视频封面:2张已下载
访问地址:http://localhost:8080/2026-03-21_LibTV_Agent.html功能说明
自动命名
文件名格式:`{日期}_{英文关键词}.html`
图片处理
视频处理
文件结构
workspace/
├── skills/wechat-article-fetcher/
│ ├── fetch.sh # 主脚本
│ ├── fetch.py # Python核心
│ ├── SKILL.md # 本文件
│ └── README.md # 说明文档
├── images/ # 文章图片(自动创建)
├── video_covers/ # 视频封面(自动创建)
└── 2026-03-21_xxx.html # 生成的文章HTML手动启动服务器
如果8080端口被占用:
# 指定端口
./skills/wechat-article-fetcher/fetch.sh URL 8888
# 或手动启动
cd /root/.openclaw/workspace && python3 -m http.server 8080注意事项
1. 首次使用会自动创建 `images/` 和 `video_covers/` 目录
2. 重复抓取同一文章会复用已下载的图片
3. 视频封面图命名格式:`{文件名}_cover_{序号}.jpg`
故障排查
**问题:图片显示不出来**
**问题:视频封面无法显示**
**问题:文件名是日期+数字**
更新日志
v1.0.0
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...