douyin-video-fetch_skill

This skill downloads Douyin videos to local storage with optional video_id or URL, supporting batch input for material analysis.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill douyin-video-fetch

  • _meta.json291 B
  • SKILL.md1.1 KB

Overview

This skill downloads Douyin (TikTok China) videos to local disk, preferring no-watermark versions when available. It outputs MP4 files named by video_id into a configurable directory and reports success or failure for each item. The tool accepts single URLs, numeric video_id, or a batch file of inputs for bulk fetching.

How this skill works

Given a Douyin URL or video_id, the skill resolves the canonical video resource and attempts to fetch an MP4 file, preferring a no-watermark stream. It supports a plain text input file with one URL or video_id per line for batch jobs and saves each file as <video_id>.mp4 under the specified output directory. The script prints per-item status and path feedback to the terminal.

When to use it

  • You need original video files for analysis, editing, or model training.
  • You only have a video_id and want to download the clip directly.
  • You want to build a local sample library from many Douyin links.
  • You plan to feed downloaded videos into downstream processing (ASR, shot detection) later.

Best practices

  • Validate and normalize input links with a URL resolver before large batches.
  • Respect rate limits and add delays when bulk-downloading to avoid throttling.
  • Use a dedicated output directory and verify sufficient disk space beforehand.
  • Run small test batches to confirm no-watermark availability and download behavior.
  • Handle failures by retrying failed IDs and logging error causes for later inspection.

Example use cases

  • Download a single Douyin clip by pasting its URL for offline inspection.
  • Feed a list of video_ids to create a local dataset for visual analysis or model fine-tuning.
  • Mirror important creator videos to a controlled archive directory for backup.
  • Automate nightly pulls of new links added to an input file to maintain a fresh sample library.

FAQ

It attempts to prefer no-watermark streams but availability depends on the source and Douyin's delivery endpoints. If no-watermark isn’t accessible, a standard watermarked MP4 may be saved.

What input formats are accepted for batch jobs?

A plain text file with one URL or numeric video_id per line. The script detects whether each line is a full URL or an ID and handles both.

What should I do if a download fails?

Retry the item, run the URL through a resolver to clean or standardize the link, and check network/rate-limit issues. Failures are printed to terminal and can be logged for bulk retry.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational