You are not logged in.
Pages: 1
Using buster, I've had several times in the last few weeks where youtube-dl quit on me with an error message.
The workaround is to delete ~/.cache/youtube-dl and try the download again.
Offline
Thanks for the info. I might try to see if the one on my Sid install works. Perhaps attempt a backport of the Sid one?
Real Men Use Linux
Online
I think youtube-dl is one of the rare cases where it's better to go to the site and download the latest version for yourself. Put the file in ~/bin, don't run it as root and just accept the remaining security issues. Youtube &co change the rules so often that there's no way a Debian package can keep up. Run 'youtube-dl -U' on your local version and usually the latest version (2020.03.24 atm) fixes everything.
The downloaded executable is a binary file which you can't look at in a text editor
but the source code is open and viewable on GitHub: https://github.com/ytdl-org/youtube-dl
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
To keep it under "some" package control,
pip3 install --user youtube-dl
pip3 install --user --upgrade youtube-dl
etc will install into your home directory. Since youtube-dl releases to pypi regularly, this is also a good way to keep it current (unless you use a rolling distribution). Youtube-dl will then be available in ~/.local/bin as an executable.
Per aspera ad astra.
Offline
Thanks for the ideas, @johnraff and @twoion. I will look into setting it up the pip3 way so that I can install it and update like a package.
Last edited by DeepDayze (2020-04-27 14:25:31)
Real Men Use Linux
Online
I think it is good to install virtual environment for python.
// Regards rbh
Offline
I think it is good to install virtual environment for python.
Yes it would be; though youtube-dl is very special in that it has zero dependencies except for the python stdlib, which makes it easy to manage without. On my servers, all code I write for python, gets its own venv per project. System Python version hell is like DLL hell, but more modern.
Per aspera ad astra.
Offline
I think youtube-dl is one of the rare cases where it's better to go to the site and download the latest version for yourself. Put the file in ~/bin, don't run it as root and just accept the remaining security issues. Youtube &co change the rules so often that there's no way a Debian package can keep up. Run 'youtube-dl -U' on your local version and usually the latest version (2020.03.24 atm) fixes everything.
The downloaded executable is a binary file which you can't look at in a text editor
but the source code is open and viewable on GitHub: https://github.com/ytdl-org/youtube-dl
Easiest solution by far - unless you run Arch
Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos
Offline
Pages: 1