mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
b7c6c02370
- New: src/clis/weixin/download.ts — WeChat article to Markdown adapter - New: src/download/article-download.ts — shared article download helper (TurndownService, image localization, frontmatter, customizable labels) - New: src/download/media-download.ts — shared media download helper (batch download, ProgressTracker, yt-dlp routing, auto cookie export) - Refactor: migrate zhihu/download to use downloadArticle() - Refactor: migrate xiaohongshu/download to use downloadMedia() - Refactor: migrate twitter/download to use downloadMedia() - Refactor: migrate bilibili/download to use downloadMedia() - Docs: add weixin to README, README.zh-CN, download docs, adapter docs
1005 B
1005 B
WeChat (微信公众号)
Mode: 🔐 Browser · Domain: mp.weixin.qq.com
Commands
| Command | Description |
|---|---|
opencli weixin download |
下载微信公众号文章为 Markdown 格式 |
Usage Examples
# Export article to Markdown
opencli weixin download --url "https://mp.weixin.qq.com/s/xxx" --output ./weixin
# Export with locally downloaded images
opencli weixin download --url "https://mp.weixin.qq.com/s/xxx" --download-images
# Export without images
opencli weixin download --url "https://mp.weixin.qq.com/s/xxx" --no-download-images
Output
Downloads to <output>/<article-title>/:
<article-title>.md— Markdown with frontmatter (title, author, publish time, source URL)images/— Downloaded images (if--download-imagesis enabled, default: true)
Prerequisites
- Chrome running and logged into mp.weixin.qq.com (for articles behind login wall)
- Browser Bridge extension installed