douyin-comments

Installation
SKILL.md

Douyin Comments

Use this skill to fetch Douyin video comments into local JSON/JSONL files. A logged-in Douyin browser session is mandatory; public/limited non-login samples are not useful for this workflow. Keep it isolated from the Bilibili workflow and from the existing Douyin download/Feishu sync pipeline unless the user explicitly asks to integrate it later.

Workflow

  1. Require the user's existing Chrome session with Douyin login state and remote debugging enabled. Use the shared web-access CDP proxy at http://127.0.0.1:3456 by default, including large/comment-tree captures. Do not export, print, or save cookies.
  2. Before fetching comments, run --check-login-only when the CDP port or browser profile is uncertain.
  3. Run the bundled Python script with one of:
    • --video-url "https://www.douyin.com/video/<aweme_id>"
    • --aweme-id <aweme_id>
    • --video-dir "<downloaded Douyin video directory>" For large videos or when reply threads matter, prefer the bundled Node CDP script. It uses the shared web-access proxy by default and refuses to auto-start a direct Douyin bridge unless explicitly allowed:
    • node scripts\fetch_douyin_comments_cdp.mjs --video-url "https://www.douyin.com/video/<aweme_id>" --out-dir "<dir>"
  4. Save results locally first. Do not write Feishu by default.
  5. Use conservative request pacing. Do not run tight loops against Douyin comment endpoints.
  6. Report the JSONL path, JSON bundle path, manifest path, comment count, API pagination state, and any login/anti-bot/reply-fetch limitations.

Chrome Plugin Producer

Installs
2
GitHub Stars
106
First Seen
Jun 27, 2026
douyin-comments — dragon-hh/ai-boshu-crawler