Skip to content

Commit

Permalink
Support youtube videos of google+ users
Browse files Browse the repository at this point in the history
  • Loading branch information
phihag committed Jan 2, 2013
1 parent 8e241d1 commit 26cf040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/InfoExtractors.py
Expand Up @@ -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:
Expand Down

0 comments on commit 26cf040

Please sign in to comment.