youtube download yt dlp commands

also works with vimeo and a LOT of other websites

Download video as mp4:
youtube-dl <url>

Download video audio as mp3
youtube-dl -x --audio-format mp3 <url>

best audio and video
yt-dlp -f best <url>

bestaudio
yt-dlp -f bestaudio <URL>

Download playlist as mp3
youtube-dl -x --audio-format mp3 --playlist-start # --playlist-end # [link here]

Update Youtube-dl youtube-dl -U