wechat-article
抓取微信公众号文章,提取标题和内容并输出为 Markdown 格式。支持多种提取方式。
haweiYu
@haweiyu
What This Skill Does
Extracts title and body content from a WeChat public account article URL and outputs it as clean Markdown. Uses multiple extraction strategies (r.jina.ai, web_fetch, agent-browser) to bypass anti-scraping measures.
Replaces manually copying and reformatting WeChat articles by automating the extraction and Markdown conversion process.
When to Use It
- Save a WeChat article as a local Markdown file for offline reading
- Archive WeChat articles into a knowledge base or note-taking system
- Extract article content for translation or further text processing
- Convert a WeChat article to Markdown for publishing on a blog or documentation site
- Batch download multiple WeChat articles for research or content aggregation
Install
$ openclaw skills install @haweiyu/wechat-article微信公众号文章抓取
通过公众号链接获取文章的标题和内容,输出为 Markdown 格式。
Usage
python3 skills/wechat-article/scripts/wechat_article.py '<公众号文章链接>'
输出示例
# 文章标题
**发布时间**: 2026-03-04
**公众号**: 某某公众号
---
文章正文内容...
提取策略
按顺序尝试以下方式:
- r.jina.ai - 第三方内容提取服务(推荐)
- web_fetch - 直接抓取(可能被拦截)
- agent-browser - 浏览器自动化(需要处理验证码)
注意事项
- 微信公众号有反爬虫机制,部分文章可能无法获取
- 需要验证码的文章无法自动处理
- 建议优先使用 r.jina.ai 方式
示例
# 基本使用
python3 skills/wechat-article/scripts/wechat_article.py "https://mp.weixin.qq.com/s/xxx"
# 输出到文件
python3 skills/wechat-article/scripts/wechat_article.py "https://mp.weixin.qq.com/s/xxx" > article.md
Top skills in this category
gmail
@byungkyuGmail API integration with managed OAuth. Read, send, and manage emails, threads, labels, and drafts. Use this skill when users want to interact with Gmail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user.
WeChat MP CN
@guohongbin-git微信公众号监控 - 文章监控、阅读量追踪、舆情分析(WeChat Official Account)
Wechat Article Search
@wuchubuzai2018搜索微信公众号文章技能。通过微信搜索获取文章列表,覆盖科技/AI、社会热点、财经、教育、职场等各类中文资讯;可按关键词检索并返回标题、概要、发布时间、来源公众号与链接。当用户需要查找微信公众号文章、整理参考资料或快速获取文章信息时使用此技能。
Wechat Publisher
@0731coderlee-sudo一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。
google-meet
@byungkyuGoogle Meet API integration with managed OAuth. Create meeting spaces, list conference records, and manage meeting participants. Use this skill when users want to interact with Google Meet. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user.