Obtendo erro ao usar o Youtube-dl

1

quando eu comecei a baixar o youtude-dl, o seguinte erro está sendo exibido. O que devo fazer?

wanderer@wanderer-HP-Pavilion-15-Notebook-PC:~$ youtube-dl -f '(mp4) [height<480]' -- zfaISdylg7c
[youtube] zfaISdylg7c: Downloading webpage
[youtube] zfaISdylg7c: Downloading video info webpage
[youtube] zfaISdylg7c: Extracting video information
[youtube] zfaISdylg7c: Downloading js player en_US-vflV3n15C
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
    video_id, player_url, s
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
    errnote='Download of %s failed' % player_url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 529, in _download_webpage
    res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 416, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 421, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js
 (caused by ValueError(u'unknown url type: /yts/jsbin/player-en_US-vflV3n15C/base.js',)); 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.
    
por Karthik Sharma 31.01.2017 / 06:25

1 resposta

-1

Eu tive o mesmo problema mesmo quando removi e reinstalei o youtube-dl de acordo com a correção fornecida acima. A solução veio somente quando eu corro o synaptic, encontrei o pacote 'python' clicado com o botão direito nele e instalei os pacotes recomendados.

    
por VangelisK 22.03.2017 / 21:03

Tags