Install
openclaw skills install wechat-article-getterExtract full text from WeChat Official Account (微信公众号) article URLs. Use when a user shares an mp.weixin.qq.com link and asks to read, summarize, analyze, or...
openclaw skills install wechat-article-getterExtract full article content from mp.weixin.qq.com URLs.
mp.weixin.qq.com/s/xxx)# First-time setup (installs headless Chromium ~200MB)
python3 SKILL_DIR/scripts/setup.py
# Extract article
python3 SKILL_DIR/scripts/fetch_article.py "https://mp.weixin.qq.com/s/xxx"
# Output: JSON with title, author, publish_time, content, word_count
WeChat articles are JS-rendered — HTTP requests only get an empty shell. This skill uses Playwright headless Chromium to:
networkidle#js_content (article body container)h1#activity-name), author, time, body textIf Playwright is unavailable, the skill searches Chinese content aggregators (53ai.com, 36kr.com, juejin.cn, woshipm.com) for mirror copies of the article.
from fetch_article import fetch_wechat_article
result = fetch_wechat_article("https://mp.weixin.qq.com/s/xxx")
# result = {
# "success": True,
# "title": "文章标题",
# "author": "作者名",
# "publish_time": "2026-03-10",
# "content": "正文全文...",
# "word_count": 2500,
# "source": "playwright", # or "mirror"
# "url": "https://mp.weixin.qq.com/s/xxx"
# }
python3 scripts/setup.py)