ERROR: Automatic signature extraction failed: #2689

Closed
opened 2026-02-21 00:28:09 -05:00 by deekerman · 2 comments
Owner

Originally created by @t0nym on GitHub (Jul 26, 2014).

This was working last week; just upgraded to youtube-dl_2014.06.19-1... and since to 2014.07.15-1 (as per research) - getting the above error. Even with URL's that worked back then.
Further updated from 2014.06.19-1 as had "encryption" issues; research strongly suggested an update would correct issue.

Error commentary:
$ sudo youtube-dl http://www.youtube.com/watch?v=e6Qb-f_xpkI --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=e6Qb-f_xpkI', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.15
[debug] Python version 2.7.7 - Linux-3.11-2-amd64-x86_64-with-SolydXK-1-testing
[debug] Proxy map: {}
[youtube] Setting language
[youtube] e6Qb-f_xpkI: Downloading webpage
[youtube] e6Qb-f_xpkI: Downloading video info webpage
[youtube] e6Qb-f_xpkI: Extracting video information
[youtube] e6Qb-f_xpkI: Encrypted signatures detected.
[youtube] encrypted signature length 84 (28.55), itag 43, html5 player en_US-vflCGk6yw/html5player
ERROR: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function
player_type = id_m.group('ext')
AttributeError: 'NoneType' object has no attribute 'group'
; 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.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function
player_type = id_m.group('ext')
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 168, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1249, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 887, in _decrypt_signature
u'Automatic signature extraction failed: ' + tb, cause=e)
ExtractorError: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function
player_type = id_m.group('ext')
AttributeError: 'NoneType' object has no attribute 'group'
; 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.

Required details:
$ youtube-dl --version
2014.07.15

$ python --version (also just updated)
Python 2.7.7

$ uname -a
Linux <laptop_name> 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64 GNU/Linux

$ inxi -S
System: Host: <laptop_name> Kernel: 3.11-2-amd64 x86_64 (64 bit) Desktop: KDE 4.12.4 Distro: SolydXK 1 testing

$ lsb_release
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch

$ cat /etc/debian_version
jessie/sid

Basically, have updated a number of packages - not really sure this is the issue (except python, of course) - I'll be working to get back software versions as was in the meanwhile.

Hopefully, the above is sufficient to assist in my enquiry. BTW - preceding with "sudo" also gives same response.

Your assistance would be much appreciated on this issue - pls do not hesitate should you require any further information.

TiA

t0nym

Originally created by @t0nym on GitHub (Jul 26, 2014). This was working last week; just upgraded to youtube-dl_2014.06.19-1... and since to 2014.07.15-1 (as per research) - getting the above error. Even with URL's that worked back then. Further updated from 2014.06.19-1 as had "encryption" issues; research strongly suggested an update would correct issue. Error commentary: $ sudo youtube-dl http://www.youtube.com/watch?v=e6Qb-f_xpkI --verbose [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['http://www.youtube.com/watch?v=e6Qb-f_xpkI', '--verbose'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.07.15 [debug] Python version 2.7.7 - Linux-3.11-2-amd64-x86_64-with-SolydXK-1-testing [debug] Proxy map: {} [youtube] Setting language [youtube] e6Qb-f_xpkI: Downloading webpage [youtube] e6Qb-f_xpkI: Downloading video info webpage [youtube] e6Qb-f_xpkI: Extracting video information [youtube] e6Qb-f_xpkI: Encrypted signatures detected. [youtube] encrypted signature length 84 (28.55), itag 43, html5 player en_US-vflCGk6yw\/html5player ERROR: Automatic signature extraction failed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' ; 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. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info ie_result = ie.extract(url) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 168, in extract return self._real_extract(url) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1249, in _real_extract encrypted_sig, video_id, player_url, age_gate) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 887, in _decrypt_signature u'Automatic signature extraction failed: ' + tb, cause=e) ExtractorError: Automatic signature extraction failed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature video_id, player_url, len(s) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 352, in _extract_signature_function player_type = id_m.group('ext') AttributeError: 'NoneType' object has no attribute 'group' ; 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. Required details: $ youtube-dl --version 2014.07.15 $ python --version (also just updated) Python 2.7.7 $ uname -a Linux <laptop_name> 3.11-2-amd64 #1 SMP Debian 3.11.10-1 (2013-12-04) x86_64 GNU/Linux $ inxi -S System: Host: <laptop_name> Kernel: 3.11-2-amd64 x86_64 (64 bit) Desktop: KDE 4.12.4 Distro: SolydXK 1 testing $ lsb_release LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch $ cat /etc/debian_version jessie/sid Basically, have updated a number of packages - not really sure this is the issue (except python, of course) - I'll be working to get back software versions as was in the meanwhile. Hopefully, the above is sufficient to assist in my enquiry. BTW - preceding with "sudo" also gives same response. Your assistance would be much appreciated on this issue - pls do not hesitate should you require any further information. TiA t0nym
Author
Owner

@phihag commented on GitHub (Jul 26, 2014):

First of all, don't run youtube-dl with sudo, unless you are updating it. While we are not aware of any vulnerabilities and reasonably confident that there are none, youtube-dl still communicates with online services. Just run it without sudo.

You are using an outdated version of youtube-dl. YouTube changed their player the day before yesterday, so you'll need at least youtube-dl version 2014.07.25 (or newer).

It looks like you installed youtube-dl with a package manager (most likely either apt-get or pip). You can use that package manager to update youtube-dl (you may need to contact the package maintainer though, and request an update).

Alternatively, uninstall the youtube package and follow our manual installation instructions. From then on, you'll be able to update with sudo youtube-dl -U.

@phihag commented on GitHub (Jul 26, 2014): First of all, don't run youtube-dl with `sudo`, unless you are updating it. While we are not aware of any vulnerabilities and reasonably confident that there are none, youtube-dl still communicates with online services. Just run it without sudo. You are using an outdated version of youtube-dl. YouTube changed their player the day before yesterday, so you'll need at least youtube-dl version 2014.07.25 (or newer). It looks like you installed youtube-dl with a package manager (most likely either `apt-get` or `pip`). You can use that package manager to update youtube-dl (you may need to contact the package maintainer though, and request an update). Alternatively, uninstall the youtube package and follow our [manual installation instructions](http://rg3.github.io/youtube-dl/download.html). From then on, you'll be able to update with `sudo youtube-dl -U`.
Author
Owner

@t0nym commented on GitHub (Jul 26, 2014):

Many thanx for your reply.

Ran as "sudo" in reponse to research outside of your site - issue was
always initiated as self.

Using version 2014.07.25 did the do.

Once again, many thanx

/t0nym/

On 26/07/14 17:04, Philipp Hagemeister wrote:

First of all, don't run youtube-dl with |sudo|, unless you are
updating it. While we are not aware of any vulnerabilities and
reasonably confident that there are none, youtube-dl still
communicates with online services. Just run it without sudo.

You are using an outdated version of youtube-dl. YouTube changed their
player the day before yesterday, so you'll need at least youtube-dl
version 2014.07.25 (or newer).

It looks like you installed youtube-dl with a package manager (most
likely either |apt-get| or |pip|). You can use that package manager to
update youtube-dl (you may need to contact the package maintainer
though, and request an update).

Alternatively, uninstall the youtube package and follow our manual
installation instructions
http://rg3.github.io/youtube-dl/download.html. From then on, you'll
be able to update with |sudo youtube-dl -U|.


Reply to this email directly or view it on GitHub
https://github.com/rg3/youtube-dl/issues/3377#issuecomment-50238125.

@t0nym commented on GitHub (Jul 26, 2014): Many thanx for your reply. Ran as "sudo" in reponse to research outside of your site - issue was always initiated as self. Using version 2014.07.25 did the do. Once again, many thanx /t0nym/ On 26/07/14 17:04, Philipp Hagemeister wrote: > First of all, don't run youtube-dl with |sudo|, unless you are > updating it. While we are not aware of any vulnerabilities and > reasonably confident that there are none, youtube-dl still > communicates with online services. Just run it without sudo. > > You are using an outdated version of youtube-dl. YouTube changed their > player the day before yesterday, so you'll need at least youtube-dl > version 2014.07.25 (or newer). > > It looks like you installed youtube-dl with a package manager (most > likely either |apt-get| or |pip|). You can use that package manager to > update youtube-dl (you may need to contact the package maintainer > though, and request an update). > > Alternatively, uninstall the youtube package and follow our manual > installation instructions > http://rg3.github.io/youtube-dl/download.html. From then on, you'll > be able to update with |sudo youtube-dl -U|. > > — > Reply to this email directly or view it on GitHub > https://github.com/rg3/youtube-dl/issues/3377#issuecomment-50238125.
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#2689
No description provided.