Exportdou agent tools
导出公开抖音视频的一级评论和可选回复到 CSV 或 Excel,查看视频信息与评论数量,预览评论用于用户反馈、舆情、选题或市场分析,并管理可恢复的异步导出任务。用户要求提取、导出、采集、下载、查看、总结或分析抖音评论、评论回复、用户反馈,或提供 Douyin 视频公开链接与分享文案时使用。From its SKILL.md
npx -y skills add kenny-shaw/exportdou-agent-toolsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 26 days oldThe repository was created 26 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.5 KB, 958 tokens by cl100k_base, as published. Nobody here has run it
ExportDou
Use the ExportDou CLI to create durable public Douyin comment exports. Never request Douyin cookies or browser login state.
Requirements
- Require Node.js 18.17 or newer and npx.
- Send only the user-supplied public Douyin link or share text to ExportDou.
Authenticate
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.
Choose the Export Size
- Use the exact count when the user specifies one.
- Use 100 for an explicitly requested sample, quick check, or exploratory analysis.
- For “全部” or “all comments,” inspect first, then use --all. The CLI verifies the reported count, 200,000-row safety ceiling, and available credits.
- Ask for a count before a formal export when the user did not request a sample or all comments.
- Add --replies only when the user wants comment replies. Replies and root comments share one total result limit and one credit count.
- Use CSV unless the user explicitly requests Excel/XLSX.
Read references/commands.md when exact flags, output fields, or examples are needed.
Submit Exactly Once
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.
Advance an Async Task
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.
Read or Download Results
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.
Multiple Links
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.
Credits and History
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.
Errors and Safety
Read references/errors.md when a command fails.
- Preserve stderr separately from structured stdout.
- Treat a pending receipt as task metadata, not comment content.
- Do not expose API Keys, signed download URLs, raw provider responses, or internal cursors.
- Do not attempt private, deleted, login-gated, or access-controlled content.
- Do not claim affiliation with Douyin. ExportDou processes publicly accessible data supplied by the user.
Links
- Website: https://exportdou.cn
- API docs: https://exportdou.cn/developers
- CLI guide: https://exportdou.cn/agents
- Pricing: https://exportdou.cn/pricing
What ships with it: 24 files
51.9 KB alongside SKILL.md, 16 of them executable
packages/
- cli/package.json1.1 KB
- cli/README.md590 B
- cli/src/api.tsruns4.3 KB
- cli/src/args.tsruns1.8 KB
- cli/src/auth.tsruns4.1 KB
- cli/src/cli.tsruns5.2 KB
- cli/src/commands/account.tsruns2.1 KB
- cli/src/commands/exports.tsruns11.7 KB
- cli/src/config.tsruns1.6 KB
- cli/src/index.tsruns179 B
- cli/src/output.tsruns1.3 KB
- cli/src/types.tsruns3.1 KB
- cli/tests/api.test.mjsruns2.7 KB
- cli/tests/args.test.mjsruns847 B
- cli/tests/config.test.mjsruns1.7 KB
- cli/tsconfig.json404 B
scripts/
- check-public-registry.mjsruns3.2 KB
- check-skill-sync.shruns307 B
- release.mjsruns2.2 KB
- .gitignore86 B
- LICENSE1.0 KB
- .npmrc66 B
- package.json670 B
- README.md1.6 KB