summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-01-02 19:12:44 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-01-02 19:12:44 +0100
commit26cf040827a107fa6e8ccf10e1bc6e7860435839 (patch)
tree21786a856b9b39e7efa338bda23652c8c9c11bbb
parent8e241d1a1acd58319178af1cbf7ac6c46edeb04c (diff)
downloadyoutube-dl-26cf040827a107fa6e8ccf10e1bc6e7860435839.tar.gz
youtube-dl-26cf040827a107fa6e8ccf10e1bc6e7860435839.tar.xz
youtube-dl-26cf040827a107fa6e8ccf10e1bc6e7860435839.zip
Support youtube videos of google+ users
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
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: