Install
openclaw skills install @kenny-shaw/exportdou导出公开抖音视频的一级评论和可选回复到 CSV 或 Excel,查看视频信息与评论数量,预览评论用于用户反馈、舆情、选题或市场分析,并管理可恢复的异步导出任务。用户要求提取、导出、采集、下载、查看、总结或分析抖音评论、评论回复、用户反馈,或提供 Douyin 视频公开链接与分享文案时使用。
openclaw skills install @kenny-shaw/exportdouUse the ExportDou CLI to create durable public Douyin comment exports. Never request Douyin cookies or browser login state.
Before the first operation in a session, run:
npx exportdou whoami --json
If authentication is missing, run:
npx exportdou login --json
Ask the user to approve the printed ExportDou browser URL. Never print, expose, or ask the user to paste the resulting API Key. If the user explicitly provides a Key through a secure environment variable, use EXPORTDOU_API_KEY without echoing it.
Read references/commands.md when exact flags, output fields, or examples are needed.
Create one export:
EXPORTDOU_CLIENT_NAME=exportdou-skill npx exportdou export "<Douyin link or share text>" --limit 1000 --json
For replies:
EXPORTDOU_CLIENT_NAME=exportdou-skill npx exportdou export "<Douyin link>" --limit 10000 --replies --json
Capture taskId from stdout. Treat export only as resource creation. Never resubmit the link to check progress.
The CLI reuses one Idempotency-Key across safe network retries and attempts to recover an ambiguously accepted task. Do not add an independent shell retry loop.
Wait the returned retry interval, then make one status request:
npx exportdou status "<task-id>" --json
If status is queued, processing, or rendering, preserve the same task ID and repeat the one-shot status command after retryAfterSeconds. Stop when status is completed, partial, failed, cancelled, or expired.
Do not use --wait by default. Use it only when a human explicitly wants the terminal attached.
For analysis, retrieve a small normalized JSON sample:
npx exportdou preview "<task-id>" --limit 20 --json
Use at most 50 preview rows. Do not place a full large export in model context.
For the complete file:
npx exportdou download "<task-id>" --output comments.csv --json
The CLI writes a temporary partial file, verifies byte size and SHA-256, and renames it atomically. Do not overwrite an existing file unless the user explicitly approves --force.
Process links one at a time with the normal task workflow. Do not use xargs, shell loops, background processes, or parallel CLI invocations. Finish or cancel the current task before creating the next when the account concurrency limit is reached.
npx exportdou credits --json
npx exportdou history --limit 20 --json
Creation reserves the requested row count. Completion bills actual exported rows and releases the difference. On insufficient_credits, stop and report https://exportdou.cn/pricing; do not repeatedly resubmit.
Read references/errors.md when a command fails.