Linux - jak stahovat videa z youtube
Chtěla bych si stáhnout z youtube nějaká videa na mém linux ubuntu. jde to vůbec nějak?
Ano, není to nic těžkého stáhni si youtube-dl -
Vše fungovalo super, ale u některých videí to začalo házet chybu
Unable to extract Initial JS player signature function name; 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.
(caused by RegexNotFoundError('Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; 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.',)); please report this issue on https://yt-dl.org/bug .
Co se tak píše na netu, tak bys měl provést upgrade youtube-dl takto:
-------------------
youtube-dl https://youtu.be/xyz [youtube] xyz: Downloading webpage
ERROR: Unable to extract uploader id; 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.
-------------------
sudo python3 -m pip install -U yt-dlp
sudo pip3 install --upgrade yt-dlg
------------------
[youtube] Extracting URL: https://youtu.be/xyz
[youtube] xyz: Downloading webpage
[youtube] xyz: Downloading android player API JSON
ERROR: [youtube] xyz: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
---------------
python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz
ODPOVĚĎ
Ano, není to nic těžkého stáhni si youtube-dl -
sudo apt-get install youtube-dl
. Pak zadej url z youtube, co chceš stáhnout youtube-dl -F http://youtube.com/link
- to ti vypíše dostupné formáty. Ty pak vybereš ten co se ti nejvíc líbí třeba youtube-dl -f 18 http://youtube.com/link
a video se ti tím stáhne. Kdybys chtěl mp3 z youtube videa, tak použij youtube-dl --extract-audio --audio-format mp3 http://youtube.com/link
ODPOVĚĎ
Vše fungovalo super, ale u některých videí to začalo házet chybu
ERROR: Signature extraction failed: Traceback (most recent call last). Unable to extract Initial JS player signature function name
. Můžete poradit co s tím?Unable to extract Initial JS player signature function name; 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.
(caused by RegexNotFoundError('Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; 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.',)); please report this issue on https://yt-dl.org/bug .
ODPOVĚĎ
Co se tak píše na netu, tak bys měl provést upgrade youtube-dl takto:
apt-get install python3-pip
pip3 install youtube-dl
pip3 install --upgrade youtube-dl
ODPOVĚĎ - update 2023
youtube-dl chyba
-------------------
youtube-dl https://youtu.be/xyz [youtube] xyz: Downloading webpage
ERROR: Unable to extract uploader id; 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.
instalace yt-dlp
-------------------
sudo python3 -m pip install -U yt-dlp
sudo pip3 install --upgrade yt-dlg
pak stejně chyba
------------------
[youtube] Extracting URL: https://youtu.be/xyz
[youtube] xyz: Downloading webpage
[youtube] xyz: Downloading android player API JSON
ERROR: [youtube] xyz: Unable to extract uploader id; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
Finální řešení
---------------
python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz