Hacker News new | ask | show | jobs
by butteroverflow 2537 days ago
Maybe they already have? `youtube-dl` has been breaking a lot for me lately. I've been using the Fedora repo build for many years and don't remember it ever breaking, not once. Now in the last couple of months it had suddenly stopped working 4 or 5 times, which forced me to install the official build from `pip`, which is updated more frequently.
1 comments

youtube-dl is one of those rare programs that you shouldn't download from a repository. Do this instead:

- Download from the project page and put it anywhere in your path (it's a single file)

- Subsequently do 'youtube-dl -U' whenever you want to update. It updates itself in-place with the latest release (there's usually 2 or 3 released per week)

Yes. That!

I quickly learned the difference. Downloading from YouTube breaks. No distro update. But updating only the script is quick and easy.

Initial installation is also very easy. Two one-line recipies to install it are provided. One using CURL and one using WGET.

https://ytdl-org.github.io/youtube-dl/index.html

I have been using it with ffmpeg on a google pixelbook on cruoton for over a year and love it.

What's the difference to installing 2-3 updates per week over the distro? One should be installing distro updates daily anyway.
Distro repositories can't keep up with the number or timeliness of updates. When youtube deploys an update that breaks the tool (happens on a semi-regular basis), you want access to the fix ASAP.