yt-dlp Video Downloader
- Check if
$ARGUMENTSprovides a URL. If empty, ask the user for a video URL. - Check if FFmpeg is installed by running
ffmpeg -version. If not installed, prompt the user with OS-specific installation commands and wait for confirmation. Do NOT run yt-dlp without FFmpeg. - Determine the user's requirements (video vs audio, target quality, subtitles, metadata).
- Read
$SKILL_DIR/references/COMMANDS.mdfor format selection syntax and command templates. - Read
$SKILL_DIR/references/TROUBLESHOOTING.mdfor site-specific rules (e.g., requiring cookies or proxies). - Execute the
yt-dlpcommand in the user's downloads folder (e.g.,~/Downloadsor%USERPROFILE%/Downloads). - Verify that the output file downloaded successfully.
Output
- The executed command
- Brief explanation of the parameters used
- Location of the downloaded file