wechat-article-extractor-skill
由 freestylefly 提供
Coding Agents & IDEs简介
Extract metadata and content from WeChat Official Account articles.
描述
该技能的功能
Extracts metadata and content from WeChat Official Account articles given a mp.weixin.qq.com URL. Returns structured data including title, author, publish time, cover image, account info, and HTML content. Handles deleted, expired, rate-limited, and migrated content with specific error codes.
WeChat's closed ecosystem makes article data inaccessible via standard APIs, so this skill handles the page parsing and anti-scraping quirks directly.
何时使用
- Archiving WeChat articles before they get deleted
- Converting WeChat posts to structured data for a CMS
- Monitoring a brand's WeChat official account output
- Extracting article metadata for content aggregation pipelines
- Pulling WeChat article content into a translation workflow
示例工作流
User asks: Extract the title, author, and publish time from https://mp.weixin.qq.com/s?__biz=ABC123
- 1
Calls extract() with the provided mp.weixin.qq.com URL
- 2
Receives success response with code 0
- 3
Reads msg_title, msg_author, and msg_publish_time_str from the data object
- 4
Formats the extracted fields into a readable summary
Title: '示例标题', Author: '张三', Published: '2024/01/15 10:30:00'
安装
clawhub install freestylefly/wechat-article-extractor-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。