it:software:youtube-dl

Youtube-dl

Občas se mi hodí stáhnout video z Youtube. Používám k tomu nástroj youtube-dl. Nicméně přesto mi i nejaktuálnější verze házela tuto chybu:

[youtube] xhW84f-Klbg: Downloading webpage
[youtube] xhW84f-Klbg: Downloading player 11e3a4ec
WARNING: [youtube] Unable to decode n-parameter: download likely to be throttled (Unhandled exception in decode; 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. Traceback (most recent call last):
  File "/snap/youtube-dl/4806/lib/python3.6/site-packages/youtube_dl/extractor/youtube.py", line 1524, in _n_descramble
    raise ExtractorError('Unhandled exception in decode')
youtube_dl.utils.ExtractorError: Unhandled exception in decode; 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.
)

Chvíli jsem hledal v diskusích, než jsem zjistil, že problém není ojedinělý. Vzniknul neoficinální fork youtube-dl, ve kterém je chyba opravena. Takže stáhnout, nainstalovat a lze fungovat.

git clone https://github.com/ytdl-patched/youtube-dl
cd youtube-dl
make
./youtube-dl
  • it/software/youtube-dl.txt
  • Poslední úprava: 2023/02/23 09:09
  • autor: Petr Nosek