From: Philipp Hagemeister Date: Sat, 12 Jan 2013 12:49:14 +0000 (+0100) Subject: Make ustream IE more robust X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ef0c8d5f9fe9c11c4b6e5aafdc7c1139771f6385;p=youtube-dl Make ustream IE more robust --- diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 4f87eeb39..a992ccc1b 100755 --- 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\d+)' + _VALID_URL = r'https?://www\.ustream\.tv/recorded/(?P\d+)' IE_NAME = u'ustream' - + def _real_extract(self, url): m = re.match(self._VALID_URL, url) video_id = m.group('videoID')