Install
openclaw skills install @lniosy/wechat-article-download-apiFetch and export WeChat public article content through down.mptext.top API. Use when testing this API, downloading a WeChat article, validating html/markdown/text/json output differences, or batch-saving article content to local files.
openclaw skills install @lniosy/wechat-article-download-apiUse this skill to call https://down.mptext.top/api/public/v1/download without API key, fetch a WeChat article by URL, and save outputs as html, markdown, text, or json.
html, markdown, text, json.scripts/fetch_wechat_article.py to request API and save files.Fetch all 4 formats to current directory:
python scripts/fetch_wechat_article.py \
--url "https://mp.weixin.qq.com/s/W-8MSBo5FwDY8OmCUN0cSw" \
--formats html markdown text json
Set output directory and basename:
python scripts/fetch_wechat_article.py \
--url "https://mp.weixin.qq.com/s/xxx" \
--formats json \
--outdir "d:/wechattxt/output" \
--basename "wx_article"
Save files as {basename}.{ext}:
html -> .htmlmarkdown -> .mdtext -> .txtjson -> .jsonPrint one summary line per format:
Content-TypeTreat non-200 status as failure.
Keep processing remaining formats unless --fail-fast is set.
Raise process exit code 1 if any format fails.
references/api.mdscripts/fetch_wechat_article.py