Permalink
Browse files

Support youtube videos of google+ users

  • Loading branch information...
1 parent 8e241d1 commit 26cf040827a107fa6e8ccf10e1bc6e7860435839 @phihag phihag committed Jan 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 youtube_dl/InfoExtractors.py
@@ -412,7 +412,7 @@ def _real_extract(self, url):
# uploader_id
video_uploader_id = None
- mobj = re.search(r'<link itemprop="url" href="http://www.youtube.com/user/([^"]+)">', video_webpage)
+ mobj = re.search(r'<link itemprop="url" href="http://www.youtube.com/(?:user|channel)/([^"]+)">', video_webpage)
if mobj is not None:
video_uploader_id = mobj.group(1)
else:

0 comments on commit 26cf040

Please sign in to comment.