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

'NoneType' object has no attribute 'group' #7656

Closed
jakubzeman opened this issue Nov 26, 2015 · 1 comment
Closed

'NoneType' object has no attribute 'group' #7656

jakubzeman opened this issue Nov 26, 2015 · 1 comment

Comments

@jakubzeman
Copy link

@jakubzeman jakubzeman commented Nov 26, 2015

youtube-dl --verbose 'https://www.youtube.com/watch?v=YQHsXMglC9A'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=YQHsXMglC9A']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.21
[debug] Python version 2.7.10 - Darwin-15.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.8.2, ffprobe 2.8.2
[debug] Proxy map: {}
[youtube] YQHsXMglC9A: Downloading webpage
[youtube] YQHsXMglC9A: Downloading video info webpage
[youtube] YQHsXMglC9A: Extracting video information
[youtube] {22} signature length 49.43, html5 player en_US-vflFEzfy7
[youtube] YQHsXMglC9A: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflFEzfy7/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 828, in _decrypt_signature
video_id, player_url, s
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 755, in _extract_signature_function
cache_res = res(test_string)
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 807, in
return lambda s: initial_function([s])
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 254, in resf
res, abort = self.interpret_statement(stmt, local_vars)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 55, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 135, in interpret_expression
self._objects[variable] = self.extract_object(variable)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 220, in extract_object
fields = obj_m.group('fields')
AttributeError: 'NoneType' object has no attribute 'group'
(caused by AttributeError("'NoneType' object has no attribute 'group'",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 828, in _decrypt_signature
video_id, player_url, s
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 755, in _extract_signature_function
cache_res = res(test_string)
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 807, in
return lambda s: initial_function([s])
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 254, in resf
res, abort = self.interpret_statement(stmt, local_vars)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 55, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 135, in interpret_expression
self._objects[variable] = self.extract_object(variable)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 220, in extract_object
fields = obj_m.group('fields')
AttributeError: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "/opt/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 661, in extract_info
ie_result = ie.extract(url)
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 290, in extract
return self._real_extract(url)
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1367, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 838, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 828, in _decrypt_signature
video_id, player_url, s
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 755, in _extract_signature_function
cache_res = res(test_string)
File "/opt/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 807, in
return lambda s: initial_function([s])
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 254, in resf
res, abort = self.interpret_statement(stmt, local_vars)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 55, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 135, in interpret_expression
self._objects[variable] = self.extract_object(variable)
File "/opt/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 220, in extract_object
fields = obj_m.group('fields')
AttributeError: 'NoneType' object has no attribute 'group'
(caused by AttributeError("'NoneType' object has no attribute 'group'",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 26, 2015

You are using an outdated version of youtube-dl. See our FAQ if you need help updating.

@phihag phihag closed this Nov 26, 2015
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
2 participants
You can’t perform that action at this time.