youtube playlist downloader code example
Example 1: youtube dl download playlist mp3
youtube-dl --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" <url to playlist>
Example 2: downloading youtube playlists using youtube-dl in highest quality
youtube-dl -f 22 'http://www.youtube.com/watch?v=P9pzm5b6FFY'
Example 3: downloading youtube playlists using youtube-dl in highest quality
youtube-dl -f best 'http://www.youtube.com/watch?v=P9pzm5b6FFY'