Use this skill for 微信公众号文章抓取、公众号反查、文章列表拉取、全文提取。
Support these user intents:
biz/account name, but not a stable fakeid; when MP backend session is available, try search-based recovery.__biz, mid, idx, sn.session.present / session.valid / session.reason.fakeid is missing and session is valid, search by account name and match candidates using biz / name.fakeid is available, list more articles for that account.Use the bundled CLI to:
session check — validate current env/file-backed sessionsession show — report non-sensitive session presence/length/statussession save — persist env-provided session to local cache filesession login-start — start QR login, return scan state, and write a real scannable QR PNG under scripts/cache/wechat-login-qr-real.pngsession login-status — poll login status and capture fresh session when ready{
"present": true,
"valid": false,
"reason": "invalid session",
"base_resp": {}
}
{
"name": "",
"biz": "",
"fakeid": "",
"avatar": "",
"signature": ""
}
{
"title": "",
"url": "",
"publish_time": "",
"publish_time_raw": "",
"author": "",
"account_name": "",
"content_html": "",
"content_markdown": "",
"images": []
}
scripts/wechat_mp_reader.py.session check, session login-start, session login-status) and then run article --with-account-articles directly via scripts/wechat_mp_reader.py; helper bridge scripts are no longer the default path.session login-start now persists a real scannable QR image to scripts/cache/wechat-login-qr-real.png and returns its path in qr_image_path.biz / name -> fakeid) locally to reduce repeated searchbiz lookups.scripts/wechat_mp_reader.py — Python prototype and CLIscripts/wechat_mp_reader/auth.py — session validation helpersscripts/wechat_mp_reader/session_store.py — session load/save helpersreferences/design.md — architecture, implementation phases, and caveatsRead references/design.md when you need the detailed design, adapter responsibilities, or future roadmap.
Read references/usage.md when you need the human-facing usage guide, CLI examples, or natural-language invocation patterns for triggering this skill through an agent.
共 1 个版本