Signature extraction failed #8302

Closed
opened 2026-02-21 04:19:26 -05:00 by deekerman · 3 comments
Owner

Originally created by @ma7amd on GitHub (Jul 26, 2016).

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.26.2. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [x ] I've verified and I assure that I'm running youtube-dl 2016.07.26.2

Before submitting an issue make sure you have:

  • [ x] At least skimmed through README and most notably FAQ and BUGS sections
  • [ x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [ x] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

pugo@PC:/media/pugo/Entertainment/YoutubeDownloads/Django Special Course/install Django On Linux$ youtube-dl -c -i -v -o '%(autonumber)s.%(title)s.%(ext)s' https://www.youtube.com/playlist?list=PLEsfXFp6DpzTh0XQn528bI3XiLpz0pzL2
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-c', u'-i', u'-v', u'-o', u'%(autonumber)s.%(title)s.%(ext)s', u'https://www.youtube.com/playlist?list=PLEsfXFp6DpzTh0XQn528bI3XiLpz0pzL2']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.22
[debug] Python version 2.7.12 - Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.6-1ubuntu2, ffprobe 2.8.6-1ubuntu2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:playlist] PLEsfXFp6DpzTh0XQn528bI3XiLpz0pzL2: Downloading webpage
[download] Downloading playlist: Install Django on Linux Ubuntu
[youtube:playlist] playlist Install Django on Linux Ubuntu: Downloading 3 videos
[download] Downloading video 1 of 3
[youtube] Et6zjEfv_-c: Downloading webpage
[youtube] Et6zjEfv_-c: Downloading video info webpage
[youtube] Et6zjEfv_-c: Extracting video information
[youtube] {22} signature length 43.40, html5 player en_US-vflIB5TLK
[youtube] Et6zjEfv_-c: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflIB5TLK/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/jsinterp.py", line 241, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Yy'; 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 ExtractorError(u"Could not find JS function u'Yy'; 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.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/jsinterp.py", line 241, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Yy'; 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 "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 316, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1407, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 915, in _decrypt_signature
    'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature
    video_id, player_url, s
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/jsinterp.py", line 241, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Yy'; 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 ExtractorError(u"Could not find JS function u'Yy'; 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.

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

I don't know exactly where is the bug or the main issue that makes youtube-dl suddenly not downloading videos as usual.

Originally created by @ma7amd on GitHub (Jul 26, 2016). ## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your _issue_ (like that [x]) - Use _Preview_ tab to see how your issue will actually look like --- ### Make sure you are using the _latest_ version: run `youtube-dl --version` and ensure your version is _2016.07.26.2_. If it's not read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x ] I've **verified** and **I assure** that I'm running youtube-dl **2016.07.26.2** ### Before submitting an _issue_ make sure you have: - [ x] At least skimmed through [README](https://github.com/rg3/youtube-dl/blob/master/README.md) and **most notably** [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [ x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your _issue_? - [ x] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your _issue_ --- ### If the purpose of this _issue_ is a _bug report_, _site support request_ or you are not completely sure provide the full verbose output as follows: Add `-v` flag to **your command line** you run youtube-dl with, copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` pugo@PC:/media/pugo/Entertainment/YoutubeDownloads/Django Special Course/install Django On Linux$ youtube-dl -c -i -v -o '%(autonumber)s.%(title)s.%(ext)s' https://www.youtube.com/playlist?list=PLEsfXFp6DpzTh0XQn528bI3XiLpz0pzL2 [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-c', u'-i', u'-v', u'-o', u'%(autonumber)s.%(title)s.%(ext)s', u'https://www.youtube.com/playlist?list=PLEsfXFp6DpzTh0XQn528bI3XiLpz0pzL2'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.02.22 [debug] Python version 2.7.12 - Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial [debug] exe versions: ffmpeg 2.8.6-1ubuntu2, ffprobe 2.8.6-1ubuntu2, rtmpdump 2.4 [debug] Proxy map: {} [youtube:playlist] PLEsfXFp6DpzTh0XQn528bI3XiLpz0pzL2: Downloading webpage [download] Downloading playlist: Install Django on Linux Ubuntu [youtube:playlist] playlist Install Django on Linux Ubuntu: Downloading 3 videos [download] Downloading video 1 of 3 [youtube] Et6zjEfv_-c: Downloading webpage [youtube] Et6zjEfv_-c: Downloading video info webpage [youtube] Et6zjEfv_-c: Extracting video information [youtube] {22} signature length 43.40, html5 player en_US-vflIB5TLK [youtube] Et6zjEfv_-c: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflIB5TLK/base.js ERROR: Signature extraction failed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature video_id, player_url, s File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function res = self._parse_sig_js(code) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js initial_function = jsi.extract_function(funcname) File "/usr/lib/python2.7/dist-packages/youtube_dl/jsinterp.py", line 241, in extract_function raise ExtractorError('Could not find JS function %r' % funcname) ExtractorError: Could not find JS function u'Yy'; 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 ExtractorError(u"Could not find JS function u'Yy'; 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. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature video_id, player_url, s File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function res = self._parse_sig_js(code) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js initial_function = jsi.extract_function(funcname) File "/usr/lib/python2.7/dist-packages/youtube_dl/jsinterp.py", line 241, in extract_function raise ExtractorError('Could not find JS function %r' % funcname) ExtractorError: Could not find JS function u'Yy'; 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 "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info ie_result = ie.extract(url) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 316, in extract return self._real_extract(url) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1407, in _real_extract encrypted_sig, video_id, player_url, age_gate) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 915, in _decrypt_signature 'Signature extraction failed: ' + tb, cause=e) ExtractorError: Signature extraction failed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature video_id, player_url, s File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function res = self._parse_sig_js(code) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js initial_function = jsi.extract_function(funcname) File "/usr/lib/python2.7/dist-packages/youtube_dl/jsinterp.py", line 241, in extract_function raise ExtractorError('Could not find JS function %r' % funcname) ExtractorError: Could not find JS function u'Yy'; 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 ExtractorError(u"Could not find JS function u'Yy'; 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. ``` --- ### If the purpose of this _issue_ is a _site support request_ please provide all kinds of example URLs support for which should be included (replace following example URLs by **yours**): - Single video: https://www.youtube.com/watch?v=Et6zjEfv_-c&list=PLEsfXFp6DpzTh0XQn528bI3XiLpz0pzL2&index=1 - Playlist: https://www.youtube.com/playlist?list=PLEsfXFp6DpzTJ9L8KrHfF_vt9mSV5foAO - Playlist: https://www.youtube.com/playlist?list=PLEsfXFp6DpzTh0XQn528bI3XiLpz0pzL2 --- ### Description of your _issue_, suggested solution and other information I don't know exactly where is the bug or the main issue that makes youtube-dl suddenly not downloading videos as usual.
Author
Owner

@dstftw commented on GitHub (Jul 26, 2016):

You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.

@dstftw commented on GitHub (Jul 26, 2016): You are using an outdated version of youtube-dl. Read [our FAQ](https://yt-dl.org/update) if you have troubles updating.
Author
Owner

@ma7amd commented on GitHub (Jul 27, 2016):

No sir iam using the version below :
pugo@PC:/$ youtube-dl --version
2016.07.26.2

@ma7amd commented on GitHub (Jul 27, 2016): No sir iam using the version below : pugo@PC:/$ youtube-dl --version 2016.07.26.2
Author
Owner

@dstftw commented on GitHub (Jul 27, 2016):

No, you don't:

[debug] youtube-dl version 2016.02.22
@dstftw commented on GitHub (Jul 27, 2016): No, you don't: ``` [debug] youtube-dl version 2016.02.22 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#8302
No description provided.