1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 07:43:08 +00:00

Support youtube videos of google+ users

This commit is contained in:
Philipp Hagemeister 2013-01-02 19:12:44 +01:00
parent 8e241d1a1a
commit 26cf040827

View file

@ -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: