Weixin Content Fetcher for Openclaw

A specialized automation tool designed to extract full-text content and screenshots from WeChat Official Account articles and convert them into developer-friendly formats.

xiaozs-com
v1.1.0
Apr 28, 2026
0
676
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install weixin-fetcher

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 weixin-fetcher 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 Weixin Content Fetcher?

The Weixin Content Fetcher is a robust utility within the Openclaw Skills ecosystem specifically engineered to bypass the complexities of the WeChat content ecosystem. It allows AI agents and developers to programmatically retrieve article text, formatting, and visual proof from any mp.weixin.qq.com URL.

By leveraging a browser-based extraction method, this skill ensures that dynamic content is fully rendered before capture. It solves the common challenge of WeChat's restricted web environment by providing clean Markdown output and high-quality screenshots for archival or analysis purposes.

Weixin Content Fetcher Use Cases

  • Archiving WeChat Official Account articles for personal knowledge bases or research.
  • Automating content research for AI agents when provided with WeChat links.
  • Converting restricted social media articles into portable Markdown files for documentation.
  • Capturing visual snapshots of articles to preserve layout and embedded media evidence.

How Weixin Content Fetcher Works

  1. The skill initializes a Chrome instance and appends a unique millisecond timestamp to the URL to bypass WeChat CDN caching mechanisms.
  2. It navigates to the target article and waits for the specific article container (#js_content) to fully load and render.
  3. The scraper extracts the core article text, cleans the formatting, and generates a structured Markdown file.
  4. Simultaneously, it triggers a page capture to save a full-view PNG screenshot.
  5. All processed assets are saved to the designated output directory for immediate use.

Weixin Content Fetcher Setup

Ensure you have Google Chrome installed on your system. To set up this tool from the Openclaw Skills repository, run the following command to install required dependencies:

pip install -r {skill_dir}/scripts/requirements.txt

To fetch an article, use the execution script:

python "{skill_dir}/scripts/fetch_weixin.py" "<ARTICLE_URL>" -o "<OUTPUT_DIRECTORY>"

Weixin Content Fetcher Data Schema & Taxonomy

The skill generates two primary files per request to ensure data integrity and readability:

File Name Format Description
article_content_weixin.md Markdown Contains the extracted article title and the full body text.
article_screenshot_weixin.png PNG Image A visual screenshot of the rendered article page.

Weixin Content Fetcher Advanced Features

  • CDN Bypass: Automatically appends cache-busting tokens to ensure the most recent version of an article is fetched.
  • Headless Support: Includes an optional --headless flag for server-side environments (though UI mode is recommended for stability).
  • Automated Driver Management: Automatically detects and downloads the correct ChromeDriver version compatible with your local Chrome installation.
  • Direct Workspace Integration: Supports custom output paths to seamlessly pipe data into AI agent workspaces.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*