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 while extracting video information from YouTube #923

Closed
indirect opened this issue Jun 25, 2013 · 2 comments
Closed

AttributeError while extracting video information from YouTube #923

indirect opened this issue Jun 25, 2013 · 2 comments
Labels
bug

Comments

@indirect
Copy link

@indirect indirect commented Jun 25, 2013

$ youtube-dl -f 38/37/22/18 -o "%(autonumber)s %(title)s.%(ext)s" "http://www.youtube.com/view_play_list?p=yALKMPGOR5cRNNSnk35R70aTT5fcZoyh"
[youtube:playlist] yALKMPGOR5cRNNSnk35R70aTT5fcZoyh: Downloading page #1
[download] Downloading playlist: jwz mixtape 129
[youtube:playlist] playlist 'jwz mixtape 129': Collected 22 video ids (downloading 22 of them)
[download] Downloading video #1 of 22
[youtube] Setting language
[youtube] DeuHjVV9YNQ: Downloading video webpage
[youtube] DeuHjVV9YNQ: Downloading video info webpage
[youtube] DeuHjVV9YNQ: Extracting video information
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 18, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 604, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 588, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 565, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 318, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 400, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 390, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 355, in process_ie_result
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 303, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 91, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 487, in _real_extract
AttributeError: 'NoneType' object has no attribute 'group'

I thought maybe this was #662, but that was patched months ago, and it says it's the newest version (from the future!)

$ youtube-dl -U
youtube-dl is up-to-date (2013.06.29)
@phihag
Copy link
Contributor

@phihag phihag commented Jun 25, 2013

Thanks for the report. This will be fixed in youtube-dl 2013.06.30 (Some parts of our Windows build system only support numerical values, so the version number can outrun the date if we release multiple times during one day). Use sudo youtube-dl -U to update.

@phihag phihag closed this in 50be92c Jun 25, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 25, 2013

@phihag The problem here is actually that for videos with age restriction, the ytplayer.config is missing. And BTW, it seems that the encryped signatures have been extended for more than Vevo videos

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.