Back to Skills

douyin-video

抖音无水印视频下载和文案提取工具. 从抖音分享链接获取无水印视频下载链接, 下载视频, 提取视频中的语音文案并自动保存到文件. 适用场景包括获取抖音视频信息, 下载无水印视频, 批量提取视频文案. 当用户需要处理抖音视频链接或提取视频内容时触发.

1,205stars244forksUpdated 7/14/2026

Security Assessment

Low Risk(85/100)

Detected risks:

Secret Exposure([SKILL.md] API_KEY=)
Security Score85/100

About douyin-video

douyin-video downloads watermark-free Douyin videos and extracts their spoken transcripts. It solves the problem of turning a Douyin share link into usable assets: it parses the link to find the direct, watermark-free video URL (no API key required), downloads the video locally, and uses speech recognition to pull the spoken content out of the video and save it to a file automatically. It is intended for getting video information, downloading watermark-free videos, and batch-extracting video transcripts.

The skill is driven by a bundled Python script, `douyin_downloader.py`, with three main actions: `info` to resolve video ID, title, and download link from a share link; `download` to save the watermark-free video to a chosen directory; and `extract` to transcribe the audio and save it. Getting information and downloading need no API key, while transcript extraction uses the SiliconFlow (硅基流动) SenseVoice API and requires an `API_KEY` environment variable, plus FFmpeg installed on the system for audio/video processing. The extraction pipeline downloads the video, uses FFmpeg to pull an MP3 audio track, calls the speech-recognition API, and cleans up temporary files, saving each video's transcript as a Markdown file inside a folder named after the video ID (optionally keeping the source video with `--save-video`). The functions can also be called directly from Python via `get_video_info`, `download_video`, and `extract_text`, and a quiet mode reduces output.

The skill targets content researchers, editors, and analysts who need clean copies of Douyin videos and searchable transcripts. It is most useful for repurposing or analyzing short-video content at scale. The documentation notes it is for learning and research use only and that users must comply with applicable laws and avoid any copyright-infringing or illegal use.

FAQ

Do I need an API key to use this skill?

Getting video information and downloading the watermark-free video need no API key. Only transcript extraction requires one — the SiliconFlow (硅基流动) API key set via the `API_KEY` environment variable.

What system dependencies are required?

FFmpeg must be installed for audio/video processing (for example `brew install ffmpeg` on macOS or `apt install ffmpeg` on Ubuntu), along with the Python `requests` and `ffmpeg-python` packages.

How are transcripts saved?

Each video's transcript is saved as a Markdown file inside a folder named after the video ID (for example `output/<video_id>/transcript.md`), and the source video is also saved when `--save-video` is passed.

What actions does the script support?

The `douyin_downloader.py` script supports `--action info` (resolve ID, title, and download link), `--action download` (save the video), and `--action extract` (transcribe and save the text), and the functions can also be imported and called directly in Python.

Are there any usage restrictions?

The tool is intended for learning and research only. Users must comply with relevant laws and must not use it for any copyright-infringing or illegal purpose.

All Files

2 files
scripts/douyin_downloader.py15.3 KB
View
SKILL.md2.6 KB
View

Install douyin-video

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill