Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic signature extraction failed #2021

Closed
kaushiksv opened this issue Dec 21, 2013 · 2 comments
Closed

Automatic signature extraction failed #2021

kaushiksv opened this issue Dec 21, 2013 · 2 comments

Comments

@kaushiksv
Copy link

@kaushiksv kaushiksv commented Dec 21, 2013

Hi folks,

I faced a new problem today but I could download when I tried again. Not sure if this network related problem or something worth digging deeper so I thought I'll post it here (I did go through isssue 1536):

I use a shell script file ydl (see below) to quickly download HD videos.

My terminal window:

kaushik:~$ cd Videos/
kaushik:Videos$ ydl http://www.youtube.com/watch?v=gHGDN9-oFJE
[youtube] Setting language
[youtube] gHGDN9-oFJE: Downloading video webpage
[youtube] gHGDN9-oFJE: Downloading video info webpage
[youtube] gHGDN9-oFJE: Extracting video information
Available formats:
22  :   mp4 [720x1280]
18  :   mp4 [360x640]
43  :   webm    [360x640]
5   :   flv [240x400]
36  :   3gp [240x320]
17  :   3gp [144x176]
137 :   mp4 [1080p] (DASH Video)
136 :   mp4 [720p] (DASH Video)
135 :   mp4 [480p] (DASH Video)
134 :   mp4 [360p] (DASH Video)
133 :   mp4 [240p] (DASH Video)
160 :   mp4 [192p] (DASH Video)
172 :   webm    [256k] (DASH Audio)
140 :   m4a [128k] (DASH Audio)
171 :   webm    [128k] (DASH Audio)
139 :   m4a [48k] (DASH Audio)

Quality for Video (default 137): 
Quality for Audio (default 141): 172
Google Search - Reunion-gHGDN9-oFJE.mp4
Google Search - Reunion-gHGDN9-oFJE.webm
Google Search - Reunion.mp4
[youtube] Setting language
[youtube] gHGDN9-oFJE: Downloading video webpage
[youtube] gHGDN9-oFJE: Downloading video info webpage
[youtube] gHGDN9-oFJE: Extracting video information
[youtube] gHGDN9-oFJE: Encrypted signatures detected.
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
[youtube] gHGDN9-oFJE: Downloading js player vflG49soT
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 1026, in _decrypt_signature
    video_id, player_url, len(s)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/youtube.py", line 426, in _extract_signature_function
    errnote=u'Download of %s failed' % player_url)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 205, in _download_webpage
    return self._download_webpage_handle(url_or_request, video_id, note, errnote)[0]
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 168, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote)
  File "/opt/youtube-dl/youtube-dl/youtube_dl/extractor/common.py", line 155, in _request_webpage
    return compat_urllib_request.urlopen(url_or_request)
  File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 392, in open
    protocol = req.get_type()
  File "/usr/lib/python2.7/urllib2.py", line 254, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: //s.ytimg.com/yts/jsbin/html5player-vflG49soT.js

WARNING: Warning: Falling back to static signature algorithm
ERROR: unable to download video data: HTTP Error 403: Forbidden

Error video file not downloaded

The script file ydl:

#!/bin/bash
#youtube-dl DASH Video and Audio merging script
#Written by QuidsUp
#Edited by Kaushik

URL=$1
if [ -z $URL ]; then
  echo "Usage: ytdl.sh url"
  exit
fi

Regards,
Kaushik

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 21, 2013

This should work on recent versions of youtube-dl (see #1768), what version are you using (run youtube-dl --version)? If it's older than the current version (see http://rg3.github.io/youtube-dl/download.html), run sudo youtube-dl -U to update.
If it doesn't work, please comment and we will reopen the issue.

@jaimeMF jaimeMF closed this Dec 21, 2013
@hotrush
Copy link

@hotrush hotrush commented Feb 9, 2014

updating helped, thnx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.