{"skill":{"slug":"fetch-wx-article","displayName":"Fetch Wx Article","summary":"获取微信公众号文章内容。使用 scrapling 抓取微信公众号文章并转换为 Markdown 格式。当用户分享微信公众号链接（mp.weixin.qq.com/s/xxx）并希望提取内容时使用。","description":"---\nname: fetch-wx-article\ndescription: 获取微信公众号文章内容。使用 scrapling 抓取微信公众号文章并转换为 Markdown 格式。当用户分享微信公众号链接（mp.weixin.qq.com/s/xxx）并希望提取内容时使用。\n---\n\n# Fetch WeChat Article - 获取微信公众号文章\n\n从微信公众号文章链接提取内容的 skill。\n\n## 快速开始\n\n```bash\npython3 scripts/fetch_wx_article.py https://mp.weixin.qq.com/s/xxx\n```\n\n## 安装依赖\n\n使用前需要先安装依赖：\n\n```bash\npip install \"scrapling[ai]\" html2text\n```\n\n## 使用说明\n\n**当以下情况时使用此 Skill**：\n\n1. 用户分享微信公众号文章链接（`mp.weixin.qq.com/s/xxx` 格式）\n2. 需要提取文章纯文本内容\n3. 需要获取标题、作者、正文等信息\n\n## 输出格式\n\n- 返回 Markdown 格式的纯文本内容\n- 默认忽略链接和图片（可按需调整脚本）\n\n## 脚本功能\n\n`scripts/fetch_wx_article.py` 支持：\n\n- 命令行参数传入文章 URL\n- 错误处理和异常提示\n- 函数封装方便调用\n- 自动将 HTML 转换为 Markdown\n\n## 技术说明\n\n- 使用 `scrapling` 处理复杂的微信公众号页面\n- 使用 `html2text` 转换 HTML 到 Markdown\n- 支持微信公众号文章链接：`https://mp.weixin.qq.com/s/xxx`\n\n## 注意事项\n\n- 需要网络连接\n- 微信公众号文章通常包含复杂的 CSS/JS，scrapling 专门用于处理此类场景\n\n---\n\n_从微信公众号提取内容，方便后续处理和归档。_\n","tags":{"latest":"1.0.0"},"stats":{"comments":0,"downloads":701,"installsAllTime":3,"installsCurrent":3,"stars":0,"versions":1},"createdAt":1773449444980,"updatedAt":1778491894093},"latestVersion":{"version":"1.0.0","createdAt":1773449444980,"changelog":"- Initial release of fetch-wx-article skill.\n- Extracts WeChat public article content from mp.weixin.qq.com/s/xxx links.\n- Outputs clean Markdown format (title, author, body; ignores links/images by default).\n- Uses scrapling and html2text for robust extraction and HTML-to-Markdown conversion.\n- Command-line script with error handling and easy integration.","license":"MIT-0"},"metadata":null,"owner":{"handle":"tomjamescn","userId":"s17e75sj6tj6h8e457a7d25vrx83pwdk","displayName":"tomjamescn","image":"https://avatars.githubusercontent.com/u/1615116?v=4"},"moderation":null}