Skip to main content

wechat-mp-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.

Datos de origen

Repositorio
gyjiang/workbuddy-memory
Última actividad en el origen
20 de abril de 2026 a las 09:43
Idioma detectado de SKILL.md
inglés
Estrellas
0
Forks
0

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Explorador de archivos
4 archivos

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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 "<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
Ver en GitHub