Remix.run Logo
doctor_phil 10 hours ago

The author mentions just downloading the audio track. That's a lot less data than downloading any video at all. ;)

jordigh 5 hours ago | parent | next [-]

-f 140 is the right yt-dlp parameter to get just the audio.

woodson 4 hours ago | parent [-]

I think it's just "-x". It should select the best audio quality automatically.

amatecha 4 hours ago | parent | prev [-]

Oh, I missed that! In that case,

  yt-dlp -x <url>
.. or optionally to convert it to mp3 on the fly:

  yt-dlp -x --audio-format mp3 <url>
.. or doing so with also the best audio quality available:

  yt-dlp -f 'ba' -x --audio-format mp3 <url>