WeChat Article Fetcher for Openclaw

A professional utility to archive WeChat Official Account articles into local HTML files with full image and media metadata support.

aga-j
v1.0.0
Mar 22, 2026
0
688
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install aga-wechat-article-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 aga-wechat-article-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 WeChat Article Fetcher?

WeChat Article Fetcher is a specialized tool designed for the Openclaw Skills ecosystem that automates the extraction and local storage of WeChat Official Account content. It solves the common problem of content expiration and link rot by converting remote articles into permanent, offline-ready HTML documents.

The skill goes beyond simple text scraping by intelligently handling media assets. It downloads all embedded images, extracts video cover art, and re-maps internal links to local paths, ensuring that the saved article remains visually identical to the original version even without an active internet connection.

WeChat Article Fetcher Use Cases

  • Archiving important WeChat Official Account articles for long-term offline reading.
  • Extracting high-quality images and media assets from WeChat posts for research.
  • Creating a local searchable database of industry insights originally published on WeChat.
  • Bypassing link expiration or content deletion by maintaining a local HTML copy.

How WeChat Article Fetcher Works

  1. The user provides a WeChat article URL (mp.weixin.qq.com) to the Openclaw agent.
  2. The skill triggers the fetch.sh script which invokes the core Python logic.
  3. The Python engine parses the article title to generate an SEO-friendly filename using dates and English keywords.
  4. All images are downloaded locally to an images directory and HTML source paths are updated.
  5. Video covers are extracted and saved to a dedicated directory with fallback links to the original video.
  6. A localized HTML file is generated and served via a local HTTP server for immediate preview.

WeChat Article Fetcher Setup

To integrate this into your environment, ensure you have Python 3 and basic shell utilities installed. The skill is designed to run within the Openclaw workspace.

# Standard usage via the fetch script
./skills/wechat-article-fetcher/fetch.sh [WECHAT_URL]

# If the default port 8080 is occupied, specify a custom port
./skills/wechat-article-fetcher/fetch.sh [WECHAT_URL] 8888

# To manually serve your archived articles
cd /root/.openclaw/workspace && python3 -m http.server 8080

WeChat Article Fetcher Data Schema & Taxonomy

The skill maintains a structured workspace to ensure assets are organized and reusable across different archived articles:

Directory/File Description
/images/ Stores all downloaded article images for offline rendering.
/video_covers/ Stores extracted video thumbnails with the format {filename}_cover_{index}.jpg.
YYYY-MM-DD_Keywords.html The final generated HTML file containing the article content.
fetch.py The core extraction engine for Openclaw Skills.

WeChat Article Fetcher Advanced Features

  • Intelligent Naming: Automatically generates filenames based on date and English keywords extracted from the title (e.g., 2026-03-21_LibTV_Agent.html).
  • Media De-duplication: Reuse previously downloaded images when fetching the same article multiple times to save bandwidth.
  • Anti-Hotlinking Bypass: Localizes images and video covers to circumvent WeChat's hotlink protection mechanisms.
  • Integrated Web Server: Provides immediate local access URLs for viewing saved content through any browser.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*