parasurv@webspace ~ $

Blog: [Site updates] [Linux] [Free Software] [Culture] [Health] [Watches] Learning: [Emacs Journal] [Linux Wiki] Personal: [Contact] [About me]

Shorts: [Microblog] [Linkblog] Important: [Read] [Watch] [Listen] Other pages: [Old games stuff]

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 and created with Emacs, the world best text editor, operating system. This website doesn't track you. I don't use any javascript or other scripts. I don't store any information about the visitors. It's just pure old fashioned HTML. Some parts of the site is not up-to-date design wise. I may or may not update them in the future. I don't really support mobile stuff, but I bet if you disable the little CSS I have, you can read the site perfectly.