parasurv's webspace

How to download Youtube playlists on Linux as MP3?

I just love youtube-dl. There is a GUI for that, but I love terminal more as it is simple just copy-paste one line, or using an alias for downloading, and converting, youtube videos.

You can download youtube-dl from AUR, or from their site.

After that you copy this line to terminal, and change the <url to playlist> part to the playlist url:

youtube-dl –extract-audio –audio-format mp3 -o "%(title)s.%(ext)s" <url to playlist>

You can download a single video and convert it to mp3 with this:

youtube-dl -x –audio-format mp3 <url of video>

And they say that command line is too complicated…

Hosted on Neocities, made with Emacs. Topics: Linux | Games | Culture | Tech