Home > Debian, Linux > youtube-dl ERROR: Signature extraction failed: Traceback (most recent call last) – Debian 8.0

youtube-dl ERROR: Signature extraction failed: Traceback (most recent call last) – Debian 8.0

To solve  youtube-dl  error :
ERROR: Signature extraction failed: Traceback (most recent call last)  …
RegexNotFoundError: Unable to extract Initial JS player signature function name; …

download last version of youtube-dl as indicated in https://github.com/rg3/youtube-dl

I prefer to change name of this last version so I have two versions:

youtube-dl  version 2014.08.05 ( debian 8.0 Jessie repository)   in

whereis youtube-dl
youtube-dl: /usr/bin/youtube-dl

the last version youtube-dll   (:youtube-dllast )  in 

whereis youtube-dll
youtube-dll: /usr/local/bin/youtube-dll    

youtube-dll --version
2015.06.25

To download last version


wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dll
chmod a+rx /usr/local/bin/youtube-dl

Error in youtube-dl

Details of error
ERROR: Signature extraction failed: Traceback (most recent call last)  …
RegexNotFoundError: Unable to extract Initial JS player signature function name; …
in youtube-dl

youtube-dl https://www.youtube.com/watch?v=LYhrYHmUPn
  Setting language
  LYhrYHmUPn0: Downloading webpage
  LYhrYHmUPn0: Downloading video info webpage
  LYhrYHmUPn0: Extracting video information
  LYhrYHmUPn0: Encrypted signatures detected.
  LYhrYHmUPn0: Downloading js player vfljL8ofl
 ERROR: Signature extraction failed: Traceback (most recent call last):
 File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
 video_id, player_url, s
 File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
 res = self._parse_sig_js(code)
 File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
 u'Initial JS player signature function name')
 File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, in _search_regex
 raise RegexNotFoundError(u'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 . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
 ; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

Risorse:

Advertisements
  1. Non c'è ancora nessun commento.
  1. No trackbacks yet.

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger hanno fatto clic su Mi Piace per questo: