Skip to content

Extracts metadata, content, and error states from WeChat Official Account articles for structured output.

CCM score
53 of 100
skills.sh installs
3.9K
GitHub stars
145
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers parsing mp.weixin.qq.com URLs and returning title, author, publish time, cover image, and HTML body
  • Includes account fields (name, alias, avatar, description) and handles post, video, image, voice, text, and repost types
  • Maps 20-plus numbered error codes for cases like deleted content, expired links, rate limits, and migrated accounts
  • Designed for developers who need article data from a URL or raw HTML and rely on Node.js with cheerio and request-promise

Install

$ npx -y skills add freestylefly/wechat-article-extractor-skill --skill wechat-article-extractor -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

WeChat Article Extractor

Extract metadata and content from WeChat Official Account (微信公众号) articles.

Capabilities

  • Parse WeChat article URLs (mp.weixin.qq.com)
  • Extract article metadata: title, author, description, publish time
  • Extract account info: name, avatar, alias, description
  • Get article content (HTML)
  • Get cover image URL
  • Support multiple article types: post, video, image, voice, text, repost
  • Handle various error cases: deleted content, expired links, access limits

Usage

Basic Extraction from URL

const { extract } = require('./scripts/extract.js');

const result = await extract('https://mp.weixin.qq.com/s?__biz=...');
// Returns: { done: true, code: 0, data: {...} }

Extraction from HTML

const html = await fetch(url).then(r => r.text());
const result = await extract(html, { url: sourceUrl });

Options

Details

Repository
github.com/freestylefly/wechat-article-extractor-skill
Category
Browser Automation & Scraping

Similar to Wechat Article Extractor

More Browser Automation & Scraping