Wechat Mp Fetch
v1.1.1WeChat Official Account article fetcher — 提取s title, body text, and final URL from mp.weixin.qq.com links via Playwright. 微信公众号文章抓取工具,提取标题、正文、原始URL,支持重定向处理。
运行时依赖
安装命令
点击复制技能文档
📖 WeChat Article Fetch | 微信公众号文章抓取
提取 article title, body text, and original URL from WeChat Official Account links (mp.weixin.qq.com)
✨ Features | 功能 🎯 Title 提取ion — 提取s article title from rendered page 📝 Body Text — 提取s 清理 text content from #js_content 🔗 URL Resolution — Handles redirects, returns final canonical URL 🌐 Full Rendering — Uses Playwright/Chromium for JS-heavy pages 🔒 隐私 First — 100% local, no data 上传ed anywhere 🚀 Quick 启动 安装ation cd <技能-path> npm 安装 npx playwright 安装 chromium
Usage node scripts/wx-article-fetch.js "https://mp.weixin.qq.com/s/xxxxx"
输出 { "成功": true, "title": "文章标题", "content": "正文内容...", "url": "https://mp.weixin.qq.com/s/xxxxx" }
💡 Usage Scenarios | 使用场景 Scenario Description 场景 📚 Content Archival Save articles for offline reading 文章离线保存 📝 Note-taking Convert articles to notes 文章转笔记 🔍 Re搜索 Batch collect article content 批量采集资料 ✍️ Writing Reference 提取 key 信息 for writing 写作素材收集 🔄 Content Repurposing 提取 text for rewriting 内容再创作 ⚠️ Known Limitations | 已知限制 Issue Description 🔐 记录in Required Some articles require WeChat 记录in 💰 PAId Content Paywalled articles cannot be fetched 🔒 Private Accounts Private official accounts in访问ible 🖼️ Images Currently 提取s text only; images keep original URLs 🔧 Technical DetAIls | 技术细节 Rendering Engine: Playwright + headless Chromium Content Selector: #js_content contAIner No External APIs: All processing is 100% local Browser Mode: Headless, no UI, no 状态 leakage 🛡️ Security & 隐私 100% Local — All operations 运行 in local browser, no external server No 记录in Required — No WeChat 凭证s needed No Data Storage — Content exists only in caller's 会话 No 追踪ing — No 分析, no telemetry, no third-party deps 📁 Project Structure wechat-mp-fetch/ ├── _meta.json ├── 技能.md ├── package.json ├── package-lock.json └── scripts/ └── wx-article-fetch.js # MAIn script
🔗 Links GitHub: https://github.com/write31bug/wechat-mp-fetch npm: https://www.npmjs.com/package/wechat-mp-fetch ClawHub: https://ClawHub.AI/技能s/wechat-mp-fetch