Use 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:
bash
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:
bash
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.