Extract Youtube videos/audio

One of my favorite Linux applications is the command-line utility youtube-dl, which I use quite often to download YouTube videos or extract only the audio.

So, let’s install.

Extract the mp3 file from youtube url:

Extract the mp3 file from youtube url at 128k audio quality:

Extract the mp3 file from youtube url at the best audio quality:

Display available video formats:

Extract the video: