diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-01-02 19:12:44 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-01-02 19:12:44 +0100 |
commit | 26cf040827a107fa6e8ccf10e1bc6e7860435839 (patch) | |
tree | 21786a856b9b39e7efa338bda23652c8c9c11bbb /youtube_dl | |
parent | 8e241d1a1acd58319178af1cbf7ac6c46edeb04c (diff) |
Support youtube videos of google+ users
Diffstat (limited to 'youtube_dl')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 02e38a586..7bea26142 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -412,7 +412,7 @@ class YoutubeIE(InfoExtractor): # 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: |