Youtube: Save the audio stream of a youtube video as mp3


there is a python module if you want to save an audio stream of a youtube. youtube-dl is the choice for such tasks.

To install youtube-dl you need python and pip. On Windows use the installer from

root@debdev ~ # apt-get install python3 python3-pip

Then install youtube-dl in your user profile

michael@debdev ~ # python3 -m pip install youtube-dl

Locate your video in your Browser and copy the url.

michael@debdev ~ # ~/.local/bin/youtube-dl --extract-audio --audio-format mp3  ''

Note: You have to update youtube-dl on a regular basis because youtube often changes the web layout. To update youtube-dl call

michael@debdev ~ # python3 -m pip install youtube-dl



Advertisment to support

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.