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.

来源信息

仓库
gyjiang/workbuddy-memory
最近来源活动
2026年4月20日 09:43
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
4 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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
在 GitHub 查看