projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db30f02
)
Make ustream IE more robust
author
Philipp Hagemeister
<phihag@phihag.de>
Sat, 12 Jan 2013 12:49:14 +0000
(13:49 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sat, 12 Jan 2013 12:49:14 +0000
(13:49 +0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 4f87eeb3927ef72be525e616e4ac0cd8082aa96b..a992ccc1b9832e25333dbe6681061cccea51bcb9 100755
(executable)
--- a/
youtube_dl/InfoExtractors.py
+++ b/
youtube_dl/InfoExtractors.py
@@
-3699,11
+3699,11
@@
class SteamIE(InfoExtractor):
}
videos.append(info)
return videos
-
+
class UstreamIE(InfoExtractor):
- _VALID_URL = r'http
://www.ustream
.tv/recorded/(?P<videoID>\d+)'
+ _VALID_URL = r'http
s?://www\.ustream\
.tv/recorded/(?P<videoID>\d+)'
IE_NAME = u'ustream'
-
+
def _real_extract(self, url):
m = re.match(self._VALID_URL, url)
video_id = m.group('videoID')