lgCapture - Douyin Video Capture for Openclaw

A specialized automation tool for programmatically capturing and downloading Douyin videos using browser emulation.

ly5201314gjx
v1.0.0
Feb 25, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lgcapture

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lgcapture using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is lgCapture - Douyin Video Capture?

lgCapture is a robust technical solution integrated into the Openclaw Skills ecosystem, designed to handle the complexities of short-form video extraction. It enables developers to retrieve video files from Douyin by simulating real user interactions through headless browser technology, ensuring high success rates for both research and archival purposes.

By focusing on mobile emulation and precise metadata extraction, this skill provides a reliable bridge between raw Douyin URLs and local media assets. It is an essential component for any developer looking to build automated media pipelines with Openclaw Skills.

lgCapture - Douyin Video Capture Use Cases

  • Automating social media content collection for data analysis.
  • Integrating video download capabilities into AI-driven content curation bots.
  • Archiving viral content from various link formats using Openclaw Skills.
  • Converting short links into permanent local video storage for offline processing.

How lgCapture - Douyin Video Capture Works

  1. The skill parses the input URL to extract the unique video identifier, supporting multiple Douyin URL formats.
  2. It initializes a Playwright instance that simulates an iPhone environment to bypass desktop-specific restrictions.
  3. The automation engine navigates to the video page and locates the source (src) attribute of the video element.
  4. It resolves the internal video_id to construct a direct, high-quality download link.
  5. The file is downloaded and saved to the local directory as an MP4 file.

lgCapture - Douyin Video Capture Setup

To get started with this skill, ensure you have the necessary environment and browser binaries installed:

# Install required Python dependencies
pip install playwright

# Install the Chromium browser engine
playwright install chromium

# Execute the capture script with a target URL
python3 douyin.py <douyin_link>

lgCapture - Douyin Video Capture Data Schema & Taxonomy

The lgCapture skill processes data through a specific sequence of identifiers and attributes as detailed below:

Attribute Description
Short Link mobile-optimized URLs (e.g., v.douyin.com/xxx)
Standard Link Canonical video URLs (e.g., douyin.com/video/ID)
User Agent iPhone simulation headers for mobile-first rendering
Output Format High-definition MP4 video files
Video ID Extracted unique alphanumeric key for content lookup

lgCapture - Douyin Video Capture Advanced Features

  • Universal Link Support: Seamlessly handles short, standard, and share-style Douyin URLs.
  • Playwright Integration: Leverages industry-standard browser automation for reliable page rendering.
  • Mobile Emulation: Employs sophisticated headers to mimic mobile devices, enhancing the reliability of Openclaw Skills.
  • Optimized Algorithm: Utilizes a refined 2026-standard extraction method for consistent video ID resolution.
  • CLI Ready: Designed for immediate integration into larger shell-based automation scripts.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*