mcjones.ca

yt-dlp instructions

# Formats
yt-dlp -F "https://www.youtube.com/watch?v=DIBw9dSVKdU"

# Easiest grab
yt-dlp -f bestvideo+bestaudio "https://www.youtube.com/watch?v=DIBw9dSVKdU"

or

# Stick with mp4/m4a
yt-dlp -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 "https://www.youtube.com/watch?v=DIBw9dSVKdU"

# Best m4a
yt-dlp -f 'bestaudio[ext=m4a]' -x "https://www.youtube.com/watch?v=II_5jBaYmGQ"

-x = extract audio

yt-dlp has been replaced with the yt-dlp fork