WeChat Article Reader

Read WeChat official account articles. Use the built-in browser tool to open the page and extract body text. Always append ?scene=1 to the URL.

bernylinville

@bernylinville

What This Skill Does

Opens a WeChat official account article in a browser, appends ?scene=1 to the URL to avoid CAPTCHAs, waits for the content to load, and extracts the body text as plain text.

Replaces manually copying and pasting WeChat article content by automating page loading and text extraction with a single command.

When to Use It

  • Read a WeChat official account article without triggering a CAPTCHA
  • Extract the body text of a WeChat article for offline reading or analysis
  • Archive WeChat articles by saving their plain text content
  • Integrate WeChat article content into a research or note-taking workflow
  • Quickly retrieve the text of a WeChat article shared in a chat or link

Install

$ openclaw skills install @bernylinville/wechat-mp-reader

WeChat Article Reader

URL Normalization

Critical: The URL must end with ?scene=1 (not &scene=1), otherwise a CAPTCHA will be triggered.

Rules:

  • No query params → append ?scene=1
  • Has existing ? params → parse and rewrite query to include scene=1

Steps

  1. Open the page with browser open "<url>?scene=1"
  2. Wait for content with browser wait "#js_content" --load networkidle
  3. Extract body text with browser evaluate --fn "() => document.querySelector('#js_content')?.innerText || document.querySelector('.rich_media_content')?.innerText || document.body.innerText"
  4. Return plain text content
  5. Close the tab with browser close <tabId>

Troubleshooting

  • CAPTCHA → verify the URL has ?scene=1
  • Empty content → page may not have fully loaded, retry browser wait
  • Deleted article → the page will display a notice

Top skills in this category