Install
openclaw skills install wechat-mp-fetchWeChat Official Account article fetcher — extracts title, body text, and final URL from mp.weixin.qq.com links via Playwright. 微信公众号文章抓取工具,提取标题、正文、原始URL,支持重定向处理。
openclaw skills install wechat-mp-fetchExtract article title, body text, and original URL from WeChat Official Account links (mp.weixin.qq.com)
#js_contentcd <skill-path>
npm install
npx playwright install chromium
node scripts/wx-article-fetch.js "https://mp.weixin.qq.com/s/xxxxx"
{
"success": true,
"title": "文章标题",
"content": "正文内容...",
"url": "https://mp.weixin.qq.com/s/xxxxx"
}
| Scenario | Description | 场景 |
|---|---|---|
| 📚 Content Archival | Save articles for offline reading | 文章离线保存 |
| 📝 Note-taking | Convert articles to notes | 文章转笔记 |
| 🔍 Research | Batch collect article content | 批量采集资料 |
| ✍️ Writing Reference | Extract key info for writing | 写作素材收集 |
| 🔄 Content Repurposing | Extract text for rewriting | 内容再创作 |
| Issue | Description |
|---|---|
| 🔐 Login Required | Some articles require WeChat login |
| 💰 Paid Content | Paywalled articles cannot be fetched |
| 🔒 Private Accounts | Private official accounts inaccessible |
| 🖼️ Images | Currently extracts text only; images keep original URLs |
#js_content containerwechat-mp-fetch/
├── _meta.json
├── SKILL.md
├── package.json
├── package-lock.json
└── scripts/
└── wx-article-fetch.js # Main script