youtube-dl --extract-audio --audio-format mp3

Thank me later

Reply to this note

Please Login to reply.

Discussion

edit: use yt-dlp instead

Was about to write this 🙂

List of supported sites besides YouTube: https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md

Or if you're looking for high quality music specifically SoulSeek is the goat

https://www.slsknet.org/news/node/680

Been using this to download all my music for a while now. its better than spotify

Download PipePipe https://pipepipe.dev/ on your Android.

Zap me later

Download Metrolist https://github.com/mostafaalagamy/metrolist on your Android.

Zap me later.

yt-dlp a better option.

yt-dlp -x -cio "%(playlist_title)s/%(playlist_index)02d-%(title)s.%(ext)s" --parse-metadata "playlist_index:%(track_number)s" --add-metadata --audio-quality 0

No need to thank me, I didn't come up with it. But not only does it download an entire album with good file names, it is faster because it picks the best audio quality available and doesn't convert it.

Use Docker for easy user interface with meTube

https://github.com/alexta69/metube