Home | ubuntu

Download MP3 from youtube playlist

youtube-dl is a cli tool to download videos from video sharing website. If you like a playlist and want to listen to it on your phone as mp3. You can use the following command to download the mp3 from the playlist.

Install youtube-dl

sudo apt install -y youtube-dl

Find the url & download

If you want to download a playlist, look for a url which have list=somelongnumber and use the below command

youtube-dl --extract-audio --audio-format mp3 <url to playlist>