← 返回 Skills 市场
119
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xiaofei-ziyong-wechat-article-scraper
功能描述
微信公众号文章抓取工具。从 mp.weixin.qq.com 抓取公开文章(文字+图片+视频),解析内容块顺序,下载图片,按原顺序写入飞书知识库。
安全使用建议
This skill reliably implements scraping and local image download using headless Chrome, but its advertised Feishu import feature is not implemented in the provided code and no Feishu credentials or CLI are requested. Before installing or running:
- Expect the tool to only scrape and produce local Markdown + images unless you separately provide a Feishu integration (a CLI or API glue that supplies credentials). The current package does not contain Feishu API calls.
- Do not assume it will post data to Feishu automatically—verify how you or your environment will supply Feishu tokens if you want automated import. If there is an external feishu_create_doc tool you plan to use, ensure it is trustworthy.
- Be aware it uses headless Chrome with anti-detection flags to bypass WeChat protection; scraping mp.weixin.qq.com may violate the site’s terms of service or local laws—consider legal/ethical implications.
- Run the scripts in an isolated environment (e.g., disposable VM or container) until you confirm behavior. Check the cache directory (/tmp or supplied cache-dir) for downloaded images and remove sensitive files afterwards.
- If you need automated Feishu import, request the author to either (a) include explicit Feishu integration code and declare required env vars (tokens) or (b) document the exact external CLI/tools required. Without that, the skill is incomplete and its description is misleading.
功能分析
Type: OpenClaw Skill
Name: xiaofei-ziyong-wechat-article-scraper
Version: 2.0.0
The skill bundle is a legitimate tool for scraping WeChat articles and preparing them for import into Feishu (Lark). It uses headless Google Chrome via subprocess calls to bypass anti-bot protections and extracts content blocks (text and images) as described in the documentation. The code in `scrape.py` and `scrape_and_import.py` follows safe practices for command execution and restricts image downloads to the WeChat CDN (mmbiz.qpic.cn), showing no signs of data exfiltration, persistence, or malicious intent.
能力评估
Purpose & Capability
The skill's name and description claim both scraping mp.weixin.qq.com and writing the article into Feishu (飞书) knowledge base. The included Python scripts implement scraping, HTML parsing, and local image downloading, but do not contain any Feishu API calls or logic to authenticate/write to Feishu. SKILL.md references commands like feishu_create_doc / feishu_update_doc / feishu_doc_media that are not provided and are not declared as required binaries or env vars. Requiring only python3 and google-chrome is appropriate for scraping but insufficient for the claimed Feishu import capability.
Instruction Scope
Runtime instructions and scripts are narrowly scoped to fetching pages with headless Chrome, parsing HTML, extracting content blocks, and downloading images to a local cache directory; they do not read unrelated system files or environment variables. The scripts use aggressive anti-detection Chrome flags to bypass WeChat anti-scraping, which is expected for this purpose but may have legal/ToS implications. The SKILL.md asks the user to manually re-locate images in Feishu due to API limitations—consistent with the code producing Markdown and local images.
Install Mechanism
There is no install specification (instruction-only skill plus included scripts). No external downloads or archive extraction occur. The only runtime dependency declared is google-chrome and python3, which matches the code's use of subprocess to invoke Chrome and Python execution.
Credentials
The skill requests no environment variables or credentials, yet advertises writing to Feishu. Writing to Feishu would normally require API credentials (app_id/app_secret or access token) or a feishu CLI binary; none are declared. SKILL.md references Feishu API actions but the package neither asks for nor provides a means to supply Feishu credentials or a Feishu client. This is a clear mismatch between claimed capabilities and required permissions/configuration.
Persistence & Privilege
The skill does not request 'always: true' and does not modify other skills or global agent settings. It writes downloaded images to a local cache directory (default /tmp/wechat_article_<timestamp>) and otherwise prints outputs; this is normal for a scraping tool and does not escalate privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xiaofei-ziyong-wechat-article-scraper - 安装完成后,直接呼叫该 Skill 的名称或使用
/xiaofei-ziyong-wechat-article-scraper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
首次发布:微信公众号文章抓取+飞书导入,支持Chrome headless绕过反爬、完整内容块解析、图片末尾追加
元数据
常见问题
xiaofei自用-WeChat Article Scraper 是什么?
微信公众号文章抓取工具。从 mp.weixin.qq.com 抓取公开文章(文字+图片+视频),解析内容块顺序,下载图片,按原顺序写入飞书知识库。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 119 次。
如何安装 xiaofei自用-WeChat Article Scraper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xiaofei-ziyong-wechat-article-scraper」即可一键安装,无需额外配置。
xiaofei自用-WeChat Article Scraper 是免费的吗?
是的,xiaofei自用-WeChat Article Scraper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
xiaofei自用-WeChat Article Scraper 支持哪些平台?
xiaofei自用-WeChat Article Scraper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 xiaofei自用-WeChat Article Scraper?
由 mengzi53(@mengzi53)开发并维护,当前版本 v2.0.0。
推荐 Skills