Yt Dlp

Download videos via yt-dlp from YouTube and 1000+ sites. Use when downloading video, audio, or subtitles.

jsgforever 1a7d76a 10 files · 28.2 KB Updated

File contents

yt-dlp Video Downloader

  1. Check if $ARGUMENTS provides a URL. If empty, ask the user for a video URL.
  2. 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.
  3. Determine the user's requirements (video vs audio, target quality, subtitles, metadata).
  4. Read $SKILL_DIR/references/COMMANDS.md for format selection syntax and command templates.
  5. Read $SKILL_DIR/references/TROUBLESHOOTING.md for site-specific rules (e.g., requiring cookies or proxies).
  6. Execute the yt-dlp command in the user's downloads folder (e.g., ~/Downloads or %USERPROFILE%/Downloads).
  7. Verify that the output file downloaded successfully.

Output

  • The executed command
  • Brief explanation of the parameters used
  • Location of the downloaded file

jsgforever/skillguard/tree/main/benchmarks/final/skills/asset1__bahayonghang--yt-dlp commit 1a7d76aeef

Frequently asked questions

npx skillmds@latest add jsgforever/yt-dlp