WeChat Official Account Article Scraper for Openclaw

A robust tool to extract WeChat Official Account articles and convert them into clean, structured Markdown format.

haweiyu
v1.0.0
Mar 4, 2026
8
3.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wechat-article

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wechat-article using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WeChat Official Account Article Scraper?

The WeChat Official Account Article Scraper is a specialized utility designed for the Openclaw Skills library that simplifies the process of archiving and repurposing WeChat content. WeChat's ecosystem is notoriously difficult to scrape due to anti-bot measures, but this skill provides a reliable bridge for developers to pull titles, content, and metadata into a local environment.

By leveraging this specific tool within the broader collection of Openclaw Skills, users can transform mobile-first web content into flexible Markdown files. This makes it an essential asset for researchers, content creators, and developers who need to integrate Chinese social media content into their personal knowledge bases or automated workflows.

WeChat Official Account Article Scraper Use Cases

  • Archiving technical blog posts from WeChat for offline reading and personal knowledge management.
  • Automating the collection of industry news for digital marketing reports using Openclaw Skills.
  • Converting WeChat content into a format suitable for training or fine-tuning LLMs.
  • Batch processing WeChat URLs to create a searchable local database of articles.

How WeChat Official Account Article Scraper Works

  1. The user provides a WeChat article URL as a command-line argument to the script.
  2. The skill attempts a primary extraction using the r.jina.ai service for high-quality Markdown conversion.
  3. If the primary method fails, it executes a secondary direct web fetch to retrieve the raw HTML.
  4. As a final fallback, it utilizes agent-browser automation to handle dynamic elements or more restrictive pages.
  5. The tool processes the retrieved data into a standardized Markdown template containing the title, publication date, and source account.

WeChat Official Account Article Scraper Setup

To get started with this component of Openclaw Skills, ensure you have Python 3 installed on your system. No complex environment variables are required for basic operation.

# Navigate to the skill directory
cd skills/wechat-article

# Run the scraper with a WeChat URL
python3 scripts/wechat_article.py 'YOUR_WECHAT_URL_HERE'

# Save the output directly to a file
python3 scripts/wechat_article.py 'YOUR_WECHAT_URL_HERE' > article.md

WeChat Official Account Article Scraper Data Schema & Taxonomy

The skill generates a structured Markdown output with the following metadata and content organization:

Element Format Description
Title H1 (#) The primary headline of the article
Publish Date Bold Text The date the article was officially released
Account Name Bold Text The name of the source WeChat Official Account
Separator Horizontal Rule (---) Visual break between metadata and content
Content Markdown Body The full text of the article with basic formatting preserved

WeChat Official Account Article Scraper Advanced Features

  • Multi-strategy fallback system to maximize the success rate against WeChat anti-scraping mechanisms.
  • Native integration with r.jina.ai for the cleanest possible Markdown output without manual cleaning.
  • Support for CLI redirection, allowing this skill to be used as a building block in larger Openclaw Skills automation scripts.
  • Automated extraction of metadata including publication timestamps and source attribution.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*