🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

WeChat Article Reader

by @bernylinville

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.

Versionv1.0.0
Downloads4,709
Installs25
Stars⭐ 8
TERMINAL
clawhub install wechat-mp-reader

πŸ“– About This Skill


name: wechat-mp-reader description: 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.

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 "?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

    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
  • πŸ“‹ Tips & Best Practices

  • 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