projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e241d1
)
Support youtube videos of google+ users
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 2 Jan 2013 18:12:44 +0000
(19:12 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 2 Jan 2013 18:12:44 +0000
(19:12 +0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 02e38a5861372abab9c8bfa96e889bf39601b073..7bea26142fc7a7f09c28037a5635de4a70cb46ce 100755
(executable)
--- 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: