youtube-dl not working?
By just trying a regular download I get:
*ERROR: YouTube said: Invalid parameters.*
And doing the same video but using invidio.us' link I get:
*ERROR: Unable to download webpage: HTTP Error 500: Internal Server Error (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.*
> By just trying a regular download I get:
> *ERROR: YouTube said: Invalid parameters.*
Upgrade to the latest youtube-dl: https://github.com/ytdl-org/youtube-dl/#installation
> And doing the same video but using invidio.us' link I get:
> *ERROR: Unable to download webpage: HTTP Error 500: Internal Server Error (caused by HTTPError());
I get an error just trying to view a video in my browser on invidio.us. That instance must be having problems. Try another instance, like: https://invidious.snopyta.org/
Ohh, so youtube-dl is not in the Trisquel repository by default, I see see.
Thank you, Chaosmonk, once again to the rescue! Appreciated!
It's in the repository "by default". The version in the repository is outdated, so it won't work (hence the "invalid parameters" line).
It must be installed separately in order to get the latest version.
If you run youtube-dl using "-U" or "--update" I believe it updates your
version of youtube-dl to the latest version.
*-U,* *--update*
Update this program to latest version. Make sure that you have sufficient
permissions (run with sudo if needed)
The built-in update switch is disabled.
Ah -- then I recommend installing the Guix rolling release package
manager alongside the default Trisquel one. It works well. I use it for
programs that benefit from being bleeding edge, such as
ungoogled-chromium, syncthing and of course youtube-dl.
What value is there for Trisquel keeping old, non-working, insecure, internet facing programs in the repo? This makes no sense to have this old version of youtube-dl available. It doesn't even work.
All stable distributions have this problem with youtube-dl.
On Sun, 9 Aug 2020 01:35:36 +0200 (CEST)
name at domain wrote:
> What value is there for Trisquel keeping old, non-working, insecure,
> internet facing programs in the repo? This makes no sense to have
> this old version of youtube-dl available. It doesn't even work.
Best way to get youtube-dl is getting it directly from their
website[1](Follow the intructions for Unix like systems). Youtube
frequently breaks these clients. For example if you use F-droid's
version of Newpipe, then you'll notice the working version takes at
least a week to be availble. So even in the case of Newpipe, using
latest version(Downoaded from the repo) is the best option.
I agree - that's how I get youtube-dl and NewPipe. In fact, neither one works for me any other way.
Trisquel 9 has youtube-dl 2018-03-14 (outdated, won't download streams properly).
If youtube-dl is installed using the package manager, remove youtube-dl.
Then, get youtube-dl and make it executable as described.
https://github.com/ytdl-org/youtube-dl/#installation
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
From then on, youtube-dl can be updated with the -U switch.
sudo youtube-dl -U
At the time of writing, youtube-dl is at 2020-07-28.
As noted on Github [ https://github.com/ytdl-org/youtube-dl/issues/12260 ], bash will need to be restarted for youtube-dl to work.