download-video

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Video Download Skill

视频下载Skill

Download a video from
$ARGUMENTS
(a social media URL) to the current directory using
yt-dlp
.
Supports X/Twitter, YouTube, Instagram, TikTok, Reddit, and 1400+ other sites.
使用
yt-dlp
$ARGUMENTS
(社交媒体链接)下载到当前目录。
支持X/Twitter、YouTube、Instagram、TikTok、Reddit以及1400+其他站点

Process

流程

  1. Verify yt-dlp is installed - check with
    which yt-dlp
    , suggest
    brew install yt-dlp
    if missing
  2. Download the video in the best available quality
  3. Report results with filename, format, and file size
  1. 验证yt-dlp已安装 - 使用
    which yt-dlp
    检查,若未安装则建议执行
    brew install yt-dlp
  2. 下载视频 - 以可用的最佳画质下载
  3. 反馈结果 - 告知用户文件名、格式和文件大小

Download Command

下载命令

bash
yt-dlp -o "%(title)s.%(ext)s" "URL"
bash
yt-dlp -o "%(title)s.%(ext)s" "URL"

Options Reference

选项参考

bash
undefined
bash
undefined

Best video+audio (default)

最佳视频+音频(默认)

yt-dlp -o "%(title)s.%(ext)s" "URL"
yt-dlp -o "%(title)s.%(ext)s" "URL"

List available formats first

先列出可用格式

yt-dlp -F "URL"
yt-dlp -F "URL"

Pick a specific format

选择特定格式

yt-dlp -f "FORMAT_ID" -o "%(title)s.%(ext)s" "URL"
yt-dlp -f "FORMAT_ID" -o "%(title)s.%(ext)s" "URL"

Audio only (e.g. for podcasts)

仅下载音频(如播客)

yt-dlp -x --audio-format mp3 -o "%(title)s.%(ext)s" "URL"
yt-dlp -x --audio-format mp3 -o "%(title)s.%(ext)s" "URL"

Custom output directory

自定义输出目录

yt-dlp -o "/path/to/dir/%(title)s.%(ext)s" "URL"
undefined
yt-dlp -o "/path/to/dir/%(title)s.%(ext)s" "URL"
undefined

Platform-Specific Notes

平台特定说明

PlatformNotes
X/TwitterWorks with tweet URLs containing video. May need
--cookies-from-browser
for age-restricted content
YouTubeSupports playlists, channels, shorts. Use
-F
to pick resolution
InstagramReels and stories supported. May require authentication for private accounts
TikTokDirect video URLs work. Watermark-free when available
RedditHandles v.redd.it links with audio merging automatically
平台说明
X/Twitter适用于包含视频的推文链接。访问年龄限制内容可能需要
--cookies-from-browser
参数
YouTube支持播放列表、频道、Shorts。使用
-F
选择分辨率
Instagram支持Reels和快拍。私人账号可能需要验证身份
TikTok直接视频链接可用。支持无水印下载(若有提供)
Reddit自动处理v.redd.it链接并合并音频

After Download

下载后操作

  1. Verify the file:
    ls -lh *.mp4
    (or whatever extension was downloaded)
  2. Report the filename, format, resolution, and file size to the user
  3. If the user wants subtitles or a transcript, suggest using
    /transcribe-video
  1. 验证文件:执行
    ls -lh *.mp4
    (或对应下载文件的扩展名)
  2. 向用户反馈文件名、格式、分辨率和文件大小
  3. 如果用户需要字幕或转录文本,建议使用
    /transcribe-video