← 返回 Skills 市场
lgCapture
作者
ly5201314gjx
· GitHub ↗
· v1.0.0
497
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install lgcapture
功能描述
Automatically fetch Douyin videos from short, standard, or share links by extracting video ID and downloading via simulated iPhone browser.
使用说明 (SKILL.md)
lgCapture - 抖音视频抓取技能
技能描述
自动抓取抖音视频,支持短链接和标准链接。
使用方法
python3 douyin.py \x3C抖音链接>
支持的链接格式
https://v.douyin.com/xxx(短链接)https://www.douyin.com/video/123456789(标准链接)https://www.iesdouyin.com/share/video/123456789(分享链接)
核心算法 (2026-02-25 实测有效)
- 提取视频ID
- Playwright 访问页面 (模拟 iPhone)
- 获取 video 元素 src 属性
- 解析 video_id 构造下载链接
- 下载保存
依赖
- playwright
- chromium
更新日志
- v1.0: 初始版本
- lgCapture: 优化算法,实测有效
安全使用建议
This skill appears coherent and does what it says: load Douyin pages in a headless Chromium browser and download videos to /tmp. Before installing or running: (1) ensure you install Playwright and its browser binaries from the official source so you know what is being downloaded; (2) run the scripts in an isolated environment (container or VM) if you are concerned about network activity or handling untrusted links; (3) be aware of copyright/ToS implications for downloading content; (4) review or run the included code locally — it does not exfiltrate secrets or require credentials, but it will fetch remote content and save files to disk.
功能分析
Type: OpenClaw Skill
Name: lgcapture
Version: 1.0.0
The skill bundle contains a script, `download.py`, which has a path traversal vulnerability. This script accepts an optional `output_file` argument from `sys.argv[2]` and uses it directly in `open(output_file, 'wb')` without any sanitization. Although the `SKILL.md` instructions guide the agent to use `douyin.py` (which is benign and writes only to `/tmp/`), the presence of `download.py` in the bundle means an attacker could potentially use prompt injection to instruct the agent to execute `download.py` with a malicious `output_file` path (e.g., `../../../../etc/passwd`), leading to arbitrary file write. This is a vulnerability that could be exploited, making the skill suspicious.
能力评估
Purpose & Capability
Name/description (fetch Douyin videos) align with the included Python scripts: both douyin.py and download.py parse Douyin links, use Playwright to load pages as an iPhone, extract video URLs and download them. No unrelated services, credentials, or binaries are requested.
Instruction Scope
SKILL.md describes the same steps implemented in the code (extract video ID, simulate iPhone via Playwright, read video.src or observe network responses, download and save). The code only accesses network resources required to fetch the page and video (douyin domains and related CDNs) and writes output to /tmp; it does not read local secrets, other files, or send data to unexpected endpoints.
Install Mechanism
This is instruction‑plus-code with no install spec. SKILL.md declares dependencies (playwright, chromium) but the package does not install them automatically. Installing Playwright separately will typically download a Chromium binary; that external download is normal but worth noting since it pulls code onto disk outside the skill bundle.
Credentials
The skill requires no environment variables, no credentials, and no config paths. The code uses standard libraries (requests, playwright) and only connects to Douyin/CDN URLs — so requested permissions are proportionate to the stated function.
Persistence & Privilege
Skill is user-invocable, not always-enabled. It does not modify other skills or system-wide configuration. Runtime behavior writes downloaded video files to /tmp (transient) and does not request persistent system privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lgcapture - 安装完成后,直接呼叫该 Skill 的名称或使用
/lgcapture触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of lgCapture
- Automatic grabbing of Douyin videos using both short and standard links
- Simple CLI usage: python3 douyin.py <link>
- Supports multiple Douyin link formats
- Uses Playwright (with Chromium) to simulate iPhone for video extraction
- Improved extraction algorithm, confirmed effective as of 2026-02-25
元数据
常见问题
lgCapture 是什么?
Automatically fetch Douyin videos from short, standard, or share links by extracting video ID and downloading via simulated iPhone browser. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 497 次。
如何安装 lgCapture?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lgcapture」即可一键安装,无需额外配置。
lgCapture 是免费的吗?
是的,lgCapture 完全免费(开源免费),可自由下载、安装和使用。
lgCapture 支持哪些平台?
lgCapture 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 lgCapture?
由 ly5201314gjx(@ly5201314gjx)开发并维护,当前版本 v1.0.0。
推荐 Skills