download youtube-dl playlist audio 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: youtube-dl download audio
youtube-dl -F http://www.youtube.com/watch?v={video ID} to get available audio
then
youtube-dl -f {number of available audio} http://www.youtube.com/watch?v={video ID}