youtube playlist download to mp3

$ brew install youtube-dl

$ youtube-dl -f ‘bestaudio’ -x –audio-format mp3 -o ‘%(playlist)s/%(playlist_index)s – %(title)s.%(ext)s’ https://www.youtube.com/playlist?list=PLwiyx1dc3P2JR9N8gQaQN_BCvlSlap7re

for single video

$ youtube-dl -f ‘bestaudio’ -x –audio-format mp3 -o ‘%(title)s.%(ext)s’ https://www.youtube.com/watch?v=EZDrOFAZFZo

https://github.com/rg3/youtube-dl

very useful! first tried a few online sites but experiences are bad.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s