youtube-dl

Instalace

editovat
sudo apt-get install youtube-dl

Nedoporučuje se!

Namísto toho:

sudo apt install python-pip
sudo pip install youtube-dl
youtube-dl --version
sudo youtube-dl --update
sudo pip install --upgrade youtube-dl

Problem

editovat
youtube-dl: error: invalid rate limit specified
ERROR: Unable to extract uploader id;

This is a known issue, fixed in Master. For a temporary fix:

python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz

This installs tha master version. Run it through the command-line:

yt-dlp URL

where URL is the URL of the video you want. See yt-dlp --help for all options. It should just work without errors.

If you're using it as a module,

import yt_dlp as youtube_dl