Install
openclaw skills install wechat-article-extractExtract public WeChat Official Account articles from mp.weixin.qq.com links or saved HTML into clean Markdown or structured JSON, including title, account name, publish time, article text, tables, image markers, and image URLs. Use when the user asks to read, scrape, parse, extract, archive, convert, summarize, or save WeChat/Weixin/微信公众号 public article content.
openclaw skills install wechat-article-extractUse this skill to extract a public WeChat Official Account article into portable Markdown or JSON. It is intentionally local and generic: it does not require the user's Feishu, knowledge-base profile, database, or API keys.
Run the bundled script from the skill directory:
python3 scripts/extract_wechat_article.py "https://mp.weixin.qq.com/s/..." --format markdown --output article.md
python3 scripts/extract_wechat_article.py "https://mp.weixin.qq.com/s/..." --format json --output article.json
For an HTML file already saved from a browser:
python3 scripts/extract_wechat_article.py --html-file article.html --source-url "https://mp.weixin.qq.com/s/..." --format markdown
https://mp.weixin.qq.com/s/... article URL or a saved HTML file. Private drafts, logged-in backend pages, and non-WeChat URLs are out of scope.scripts/extract_wechat_article.py.--html-file.Markdown output contains:
[[WECHAT_IMAGE_1]]JSON output contains:
articleIdtitleauthorpublishTimesourceUrlcontentcontentWithImageMarkersimageEntriesimageUrlsimageCountcoverImageUrl--download-images <dir> when the user explicitly wants local image files.