Wechat Article Export
CLAWHUB · Unverified
Export WeChat public account articles as mobile long screenshots (PNG), PDFs, or high-quality Markdown with YAML frontmatter and code block support. Skill: Wechat Article Export Owner: benzking Summary: Export WeChat public account articles as mobile long screenshots (PNG), PDFs, or high-quality Markdown with YAML frontmatter and code block support. Tags: export:1.0.1, latest:1.1.0, markdown:1.0.1, pdf:1.0.1, screenshot:1.0.1, wechat:1.0.1 Version history: v1.1.0 | 2026-04-11T05:13:54.253Z | user Fix temp link support and banner removal v1.0.1 | 2026-04-10T11:38:
- 62
- Rank
- 84
- Safety
- 984
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 984 downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 984 downloadsadoption · Oct 11, 2026
- Latest release
- 1.1.0release · Apr 11, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.1.0release
Fix temp link support and banner removal
Observed Apr 11, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17eytpmak0fh78xhm4nyk35hh841jw4:wechat-article-export- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-benzking-wechat-article-export/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
13,364 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: wechat-article-export
description: 微信公众号多功能导出工具。將公眾號文章導出為長截圖(PNG)、PDF 或 Markdown,支持任選一種或多種格式。觸發詞:「導出微信文章」、「公眾號截圖」、「文章轉PDF」、「文章轉Markdown」、「微信導出」。
author: 闪电 ⚡️
allowed-tools: Read, Write # 僅執行 Python 腳本,無 shell 命令
version: "1.1.0"
tags:
- wechat
- 微信
- 公众号
- 导出
- 截图
- PDF
- Markdown
- mp.weixin.qq.com
allowed-tools: Read, Write # 僅執行 Python 腳本,無 shell 命令
---
# 微信公众号多功能导出工具
集成長截圖、PDF、Markdown 三種導出方式於一體,根據需要自由選擇。
## upported Formats 支持格式
| 格式 | 說明 |
|------|------|
| `screenshot` | 移動端長截圖(PNG),3x DPR,自動拼接,隱藏底部工具欄 |
| `pdf` | PDF 文檔(基於截圖轉換) |
| `markdown` | 高質量 Markdown,含 YAML frontmatter、代碼塊、圖片 |
## 觸發方式
- 「導出微信文章」
- 「公眾號截圖」
- 「文章轉PDF」
- 「文章轉Markdown」
- 「微信導出」
- 收到 `mp.weixin.qq.com` 連結
## 導出格式組合示例
```
# 全部格式
-f all
# 僅截圖
-f screenshot
# 僅 Markdown
-f markdown
# 截圖 + PDF
-f screenshot,pdf
# 三種都要
-f screenshot,pdf,markdown
```
## 執行命令
### 方式一:CLI(直接指定格式)
```bash
# 全部導出
python3 /path/to/wechat_export.py "<URL>" -f all -o /workspace/output
# 指定格式導出
python3 /path/to/wechat_export.py "<URL>" -f screenshot -o /workspace/output
python3 /path/to/wechat_export.py "<URL>" -f markdown -o /workspace/output
python3 /path/to/wechat_export.py "<URL>" -f screenshot,pdf -o /workspace/output
# Markdown 不下載圖片(保留遠程 URL)
python3 /path/to/wechat_export.py "<URL>" -f markdown --no-images -o /workspace/output
# Markdown 不含 YAML frontmatter
python3 /path/to/wechat_export.py "<URL>" -f markdown --no-frontmatter -o /workspace/output
```
### 方式二:Python 函數調用(推薦 Agent 內嵌使用)
```python
import sys
sys.path.insert(0, "/path/to/scripts")
from wechat_export import export_wechat_article
# 導出全部格式
result = await export_wechat_article(
"https://mp.weixin.qq.com/s/xxxxx",
formats=["screenshot", "pdf", "markdown"], # 可任選
output_dir="/workspace/output",
download_imgs=True, # Markdown 是否下載圖片
no_frontmatter=False, # Markdown 是否含 frontmatter
)
# result 包含:
# {
# "title": "文章標題",
# "url": "https://...",
# "screenshot_path": "/path/to/xxx.png", # or None
# "pdf_path": "/path/to/xxx.pdf", # or None
# "markdown_path": "/path/to/xxx.md", # or None
# "error": None or "錯誤信息",
# }
```
## 依賴
```bash
pip install playwright beautifulsoup4 markdownify requests Pillow
playwright install chromium
```
## 輸出目錄結構
```
<OUTPUT_DIR>/
└── <Article_Title>/
├── <Article_Title>-20260410.png # 長截圖(如選)
├── <Article_Title>-20260410.pdf # PDF(如選)
└── <Article_Title>.md # Markdown(如選)
└── images/
├── img_000.png
└── img_001.jpg
```
## 核心功能亮點
### 長截圖 (`screenshot`)
- 移動端視圖(393×852,3x DPR)
- 智能滾動觸發懶加載圖片
- 隱藏底部工具欄、干擾元素
- 15% 重疊拼接,消除接縫
- 深度反檢測偽裝
### PDF (`pdf`)
- 自動基於截圖轉換
- RGBA / P 模式自動墊白底
- 分辨率 100 DPI
### Markdown (`markdown`)
- YAML frontmatter(元數據)
- 30+ 微信噪聲元素深度移除
- 代碼塊識別 25+ 語言
- 富文本優化(標題/列表/引用)
- 圖片可選本地下載或保留遠程 URL
- 多線程並發下載(5 線程,2 次重試)
---
## Changelog
### v1.1.0 (2026-04-11)
**修复:**
- 修复 URL 验证逻辑:`/s/` → `parsed.path.startswith("/s_meta.json
{
"ownerId": "kn76gbs7y2dpv0sdyk8akq3jrd82tk71",
"slug": "wechat-article-export",
"version": "1.1.0",
"publishedAt": 1775884434253
}skill-card.md
## Description: Export WeChat public account articles as mobile long screenshots (PNG), PDFs, or high-quality Markdown with YAML frontmatter and code block support. This skill is ready for commercial/non-commercial use. ## Publisher: [benzking](https://clawhub.ai/user/benzking) ### License/Terms of Use: MIT-0 ## Use Case: External users, developers, and content operations teams use this skill to export WeChat public-account article URLs into portable PNG, PDF, or Markdown files for archiving, review, or reuse. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill processes remote WeChat article content and can fetch associated images. Mitigation: Run it in a sandboxed or containerized environment with restricted network egress, and use --no-images unless local image copies are needed. Risk: The security summary flags disabled browser sandboxing. Mitigation: Avoid privileged host execution and isolate the browser process with container, VM, or dedicated user boundaries. Risk: The security summary flags weak dependency controls. Mitigation: Pin and review Python dependencies before production or shared-environment use. Risk: Exported files may contain untrusted or sensitive article content. Mitigation: Review generated PNG, PDF, and Markdown outputs before sharing or publishing them. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/benzking/skills/wechat-article-export) ## Skill Output: **Output Type(s):** [Files, Markdown, Code] **Output Format:** [PNG screenshots, PDF documents, Markdown files, and a JSON-like result object with output paths] **Output Parameters:** [1D] **Other Properties Related to Output:** [Markdown output may include YAML frontmatter and optional local image copies; screenshot and PDF outputs are written under an article-specific output directory.] ## Skill Version(s): 1.1.0 (source: server release evidence and frontmatter) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-benzking-wechat-article-export. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Wechat Article Export. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-benzking-wechat-article-export, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"label": "Vendor",
"value": "Clawhub",
"category": "vendor",
"href": "https://clawhub.ai/benzking/skills/wechat-article-export",
"sourceUrl": "https://clawhub.ai/benzking/skills/wechat-article-export",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T22:33:00.192Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "protocols",
"label": "Protocol compatibility",
"value": "OpenClaw",
"category": "compatibility",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-benzking-wechat-article-export/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-benzking-wechat-article-export/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T22:33:00.192Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "traction",
"label": "Adoption signal",
"value": "984 downloads",
"category": "adoption",
"href": "https://clawhub.ai/benzking/wechat-article-export",
"sourceUrl": "https://clawhub.ai/benzking/wechat-article-export",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T22:33:00.192Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "latest_release",
"label": "Latest release",
"value": "1.1.0",
"category": "release",
"href": "https://clawhub.ai/benzking/wechat-article-export",
"sourceUrl": "https://clawhub.ai/benzking/wechat-article-export",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-11T05:13:54.253Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-benzking-wechat-article-export/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-benzking-wechat-article-export/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.1.0",
"description": "Fix temp link support and banner removal",
"href": "https://clawhub.ai/benzking/wechat-article-export",
"sourceUrl": "https://clawhub.ai/benzking/wechat-article-export",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-11T05:13:54.253Z",
"isPublic": true,
"metadata": {}
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-benzking-wechat-article-export/run-check
