Hacker News new | ask | show | jobs
by plug 3718 days ago
What a funny coincidence - I just discovered and used this a few hours ago. I wanted to rip some YT audio from (mostly) old records that I have that are not on Spotify etc.

I looked at some browser plugins but I wasn't really impressed. This, on the other hand, was a great discovery. Really configurable and well documented.

Assuming you have `ffmpeg` installed just run:

`youtube-dl --extract-audio --audio-format mp3 $URL`

and you're done! I expect my phone will be packed of bizarre prog/jazz before the end of the weekend :D

1 comments

If your phone supports OGG and you're downloading from YouTube, you can download format 171 (-f 171) and change the container to OGG with ffmpeg. That way you won't lose any quality.