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
**公众号**: 某某公众号

---

文章正文内容...

提取策略

按顺序尝试以下方式:

  1. r.jina.ai - 第三方内容提取服务(推荐)
  2. web_fetch - 直接抓取(可能被拦截)
  3. 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

@byungkyu

Gmail 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, or over raw HTTP with a Maton API key where the CLI cannot be installed. Every call is authenticated as the user's connection and reaches only what that connection's authorization allows, which the provider enforces on every request; the endpoints documented here are the ones this skill uses, and any other endpoint of this app needs the user to ask for it by name. Default to read and list calls, and confirm every write or new connection with the user. This file also documents the three constructs that turn a Gmail connection into automation, in the order they are used: the connection (the first step), a hosted function that runs a Gmail action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Those sections are the platform's own reference text, shared with the api-gateway skill, with Gmail examples; they add no Gmail capability - Gmail is itself an event source, so its own events are in `references/google-mail/triggers.md`, and the files under `references/<source>/triggers.md` are the platform's event catalogues for the sources Maton offers (time, Calendly, GitHub, Gmail, HubSpot, Linear, Notion, Slack, Stripe).

7540k

WhatsApp Business

@byungkyu

WhatsApp Business API integration with managed OAuth. Send messages, manage templates, and handle conversations. Use this skill when users want to interact with WhatsApp Business. 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, or over raw HTTP with a Maton API key where the CLI cannot be installed. Every call is authenticated as the user's connection and reaches only what that connection's authorization allows, which the provider enforces on every request; the endpoints documented here are the ones this skill uses, and any other endpoint of this app needs the user to ask for it by name. Default to read and list calls, and confirm every write or new connection with the user. This file also documents the three constructs that turn a WhatsApp Business connection into automation, in the order they are used: the connection (the first step), a hosted function that runs a WhatsApp Business action through the Maton SDK, and a trigger that calls that function on a schedule or on an event. Those sections are the platform's own reference text, shared with the api-gateway skill, with WhatsApp Business examples; they add no WhatsApp Business capability - WhatsApp Business is not an event source, a trigger cannot read WhatsApp Business data, and the files under `references/<source>/triggers.md` are the platform's event catalogues for the sources Maton offers (time, Calendly, GitHub, Gmail, HubSpot, Linear, Notion, Slack, Stripe).

6024k

WeChat MP CN

@guohongbin-git

微信公众号监控 - 文章监控、阅读量追踪、舆情分析(WeChat Official Account)

4715k

Wechat Article Search

@wuchubuzai2018

搜索微信公众号文章技能。通过微信搜索获取文章列表,覆盖科技/AI、社会热点、财经、教育、职场等各类中文资讯;可按关键词检索并返回标题、概要、发布时间、来源公众号与链接。当用户需要查找微信公众号文章、整理参考资料或快速获取文章信息时使用此技能。

3318k

Wechat Publisher

@0731coderlee-sudo

一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。

399.7k