From ef0c8d5f9fe9c11c4b6e5aafdc7c1139771f6385 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sat, 12 Jan 2013 13:49:14 +0100 Subject: [PATCH] Make ustream IE more robust --- youtube_dl/InfoExtractors.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 @@ def _real_extract(self, url): } 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')