youtube-dl downloads various formats

3760 views youtube
5

I'm trying to download a playlist from youtube and the songs are either downloaded in webm-format or m4a format. What I wanted was mp3. What am I doing wrong?

This is the command line i used:

youtube-dl -i --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" https://www.youtube.com/playlist\?list\=PLYhvw_t8ea5FqXXy2w_cduTGbcXwledsP

answered question

1 Answer

0

It needs to be in the following format.

youtube-dl https://www.youtube.com/watch?v=dQw4w9WgXcQ --extract-audio --audio-format mp3

posted this

Have an answer?

JD

Please login first before posting an answer.