download youtube-dl code example

Example 1: youtube dl

720p:
youtube-dl -f 22 http://www.youtube.com/watch?v=dQw4w9WgXcQ
360p:
youtube-dl -f 18 http://www.youtube.com/watch?v=dQw4w9WgXcQ

other formats:
https://www.reddit.com/r/youtubedl/comments/aa6uvq/how_do_i_download_a_video_or_playlist_at_480p_only/

Example 2: youtube-dl

youtube-dl -o "%USERPROFILE%\Desktop\statquest\%(autonumber)s-%(title)s.%(ext)s" -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 https://www.youtube.com/playlist?list=PLblh5JKOoLUICTaGLRoHQDuF_7q2GfuJF

Tags:

Misc Example