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

AttributeError: 'NoneType' object has no attribute 'group' #3684

Closed
devurandom opened this issue Sep 5, 2014 · 1 comment
Closed

AttributeError: 'NoneType' object has no attribute 'group' #3684

devurandom opened this issue Sep 5, 2014 · 1 comment

Comments

@devurandom
Copy link

@devurandom devurandom commented Sep 5, 2014

Using the latest version installed via pip:

$ youtube-dl --verbose http://www.youtube.com/watch?v=38psl7u2yvQ
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=38psl7u2yvQ']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.11.3
[debug] Python version 3.4.0 - Linux-3.13.0-35-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 38psl7u2yvQ: Downloading webpage
[youtube] 38psl7u2yvQ: Downloading video info webpage
[youtube] 38psl7u2yvQ: Extracting video information
[youtube] 38psl7u2yvQ: Encrypted signatures detected.
[youtube] encrypted signature length 85 (40.44), itag 22, html5 player en_US-vfllxLx6Z\/html5player
ERROR: Automatic signature extraction failed: Traceback (most recent call last):
  File "/home/USER/.local/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
    video_id, player_url, len(s)
  File "/home/USER/.local/lib/python3.4/site-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 "/home/USER/.local/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
    video_id, player_url, len(s)
  File "/home/USER/.local/lib/python3.4/site-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 "/home/USER/.local/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
    video_id, player_url, len(s)
  File "/home/USER/.local/lib/python3.4/site-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'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/USER/.local/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/home/USER/.local/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 168, in extract
    return self._real_extract(url)
  File "/home/USER/.local/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 1249, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "/home/USER/.local/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 887, in _decrypt_signature
    u'Automatic signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Automatic signature extraction failed: Traceback (most recent call last):
  File "/home/USER/.local/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
    video_id, player_url, len(s)
  File "/home/USER/.local/lib/python3.4/site-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.
@devurandom
Copy link
Author

@devurandom devurandom commented Sep 5, 2014

Forgot --upgrade when upgrading via pip. Issue solved in current version.

@devurandom devurandom closed this Sep 5, 2014
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
1 participant
You can’t perform that action at this time.