Re: [CBLX] souci avec YouTube-dl

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


Bjr Jeremy, 

On Wed, Dec 05, 2018 at 06:02:39PM +0100, Jérémy Prego wrote:
> que donne la sortie de youtube-dl <URL> ?
 
###

aldo@W330AU:/tmp/sss$ which youtube-dl
/home/aldo/.local/bin/youtube-dl

aldo@W330AU:/tmp/sss$ ldd /home/aldo/.local/bin/youtube-dl 
	geen dynamisch uitvoerbaar bestand
(pas de fichier exécutable dynamique).

aldo@W330AU:/tmp/sss$ youtube-dl http://www.youtube.com/watch?v=SbyAZQ45uww 
[youtube] SbyAZQ45uww: Downloading webpage 
[youtube] SbyAZQ45uww: Downloading video info webpage 
[youtube] SbyAZQ45uww: Downloading js player vflRjqq_w 
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/home/aldo/.local/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 1221, in _decrypt_signature
    video_id, player_url, s
  File "/home/aldo/.local/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 1130, in _extract_signature_function 
    res = self._parse_sig_js(code)
  File "/home/aldo/.local/lib/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 1193, in _parse_sig_js
    jscode, 'Initial JS player signature function name', group='sig')
  File "/home/aldo/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 977, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: 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(u'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 . 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.
aldo@W330AU:/tmp/sss$ 

###

> ici, ça fonctionne comme attendu avec un youtube-dl statique que je mets
> à jour via youtube-dl -U de temps en temps.

Mais sous Ubuntu je suis obligé de passer par pip si je veux utiliser le
paquet qu'ils proposent eux-mêmes.

Aldo. 

--
   CBLX - CarrefourBLinuX MailingListe
   Pour obtenir de l'aide, envoyez le sujet  help  à:
   carrefourblinux-request@xxxxxxxxxxxxxxxxxxx
   Archives:
   http://listengine.tuxfamily.org/lists.tuxfamily.org/carrefourblinux
   ou
   http://www.mail-archive.com/carrefourblinux@xxxxxxxxxxxxxxxxxxx/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/