youtube-dl -o '%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s' https://www.youtube.com/playlist?list=someplaylistREPLACEME -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' --cookies cookies.txt
youtube-dl -o '%(title)s.%(ext)s' https://www.youtube.com/watch?v=XvCMnMUXqzA --restrict-filenames --cookies cookies.txt -f 'bestvideo[height<=480]+bestaudio/best[height<=480]'