Browse Source

Support youtube videos of google+ users

master
Philipp Hagemeister 12 years ago
parent
commit
26cf040827
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/InfoExtractors.py

2
youtube_dl/InfoExtractors.py

@ -412,7 +412,7 @@ class YoutubeIE(InfoExtractor):
# uploader_id # uploader_id
video_uploader_id = None 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: if mobj is not None:
video_uploader_id = mobj.group(1) video_uploader_id = mobj.group(1)
else: else:

Loading…
Cancel
Save