Last updated about 3 weeks ago

Youtube Download

Download best audio

yt-dlp --ignore-errors --format bestaudio \
--extract-audio --audio-format mp3 \
--output '%(title)s.%(ext)s' [--yes-playlist] <video-link | --batch-file  ./file.txt>

where file.txt contains a list of urls separated by blank lines.

Download best audio+audio:

yt-dlp --verbose --ignore-errors \
  --format 'bestvideo+bestaudio' \
  --merge-output-format mp4  \
  --output '%(title)s.%(ext)s' <video-link>