返回顶部
V

Video Downloader

Download online videos with quality and format controls using yt-dlp for reliable local saves.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,131
下载量
0
收藏
概述
安装方式
版本历史

Video Downloader

# Video Downloader Download single videos from user-provided URLs with predictable quality, format, and output paths. ## Setup On first use, read `setup.md` for integration guidelines. ## When to Use Use this skill when the user asks to download a video or extract audio from a video URL. It is optimized for one-off downloads with explicit quality and format requirements. ## Architecture Memory lives in `~/video-downloader/`. See `memory-template.md` for structure. ```text ~/video-downloader/ ├── memory.md # Status + user preferences ├── downloads-log.md # Optional history of completed downloads └── failed-downloads.md # Optional retries and failure reasons ``` ## Quick Reference Load only what you need to keep context small during execution. | Topic | File | |-------|------| | Setup flow | `setup.md` | | Memory template | `memory-template.md` | | Command recipes | `commands.md` | | Download script | `download_video.py` | ## Core Rules ### 1. Confirm Rights and Target First - Ask for the exact URL and intended use when unclear. - If the request implies unauthorized copying, refuse and suggest legal alternatives. ### 2. Inspect Metadata Before Downloading - Run metadata check first to confirm title, duration, and available formats. - If metadata fetch fails, stop and report the exact error instead of retrying blindly. ### 3. Match Quality to User Intent - Use `best` when user says "highest quality". - Use capped quality (`1080p`, `720p`, etc.) for smaller files or device limits. - Use audio-only mode only when they explicitly want audio extraction. ### 4. Use Deterministic Output Names - Save files as `%(title)s [%(id)s].%(ext)s` to reduce collisions. - Keep downloads in a user-approved directory and never write outside it. ### 5. Prefer the Local Wrapper Script - Use `python3 download_video.py "<url>" ...` for consistent behavior. - Fall back to raw `yt-dlp` commands only if the user asks for custom flags not covered by the script. ### 6. Verify Output Before Declaring Success - Confirm file exists, extension matches request, and size is non-zero. - For audio-only downloads, confirm output is `.mp3`. ## Common Traps - Downloading playlists accidentally -> use `--no-playlist` by default. - Choosing `best` for limited storage -> oversized files and slow transfers. - Re-trying blocked URLs repeatedly -> temporary ban risk and no progress. - Saving with title only -> filename collisions across similar uploads. - Skipping metadata check -> wrong media downloaded from redirected links. ## External Endpoints The downloader only contacts domains implied by the user-provided URL. | Endpoint | Data Sent | Purpose | |----------|-----------|---------| | User-provided video host URL domains (via `yt-dlp`) | Requested media URL and standard downloader headers | Fetch metadata and media streams | No other data is sent externally. ## Security & Privacy **Data that leaves your machine:** - Only the target media URL and standard downloader request headers sent by `yt-dlp`. **Data that stays local:** - Downloaded files in the selected output folder. - Optional memory notes under `~/video-downloader/`. **This skill does NOT:** - Store credentials in plain text. - Access files outside user-approved output paths. - Download playlists unless the user explicitly asks. - Make undeclared network requests outside the target media host. ## Trust By using this skill, requests are sent to the video host domains behind the provided URL. Only install if you trust those services with your request metadata. ## Related Skills Install with `clawhub install <slug>` if user confirms: - `video` — video processing workflows - `ffmpeg` — codec conversion tasks - `audio` — audio cleanup workflows - `youtube-video-transcript` — transcript extraction ## Feedback - If useful: `clawhub star video-downloader` - Stay updated: `clawhub sync`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 video-downloader-1776292995 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 video-downloader-1776292995 技能

通过命令行安装

skillhub install video-downloader-1776292995

下载 Zip 包

⬇ 下载 Video Downloader v1.0.0

文件大小: 6.58 KB | 发布时间: 2026-4-16 15:59

v1.0.0 最新 2026-4-16 15:59
Initial release with local yt-dlp wrapper, quality controls, and explicit security boundaries.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部