diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-01-12 13:49:14 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-01-12 13:49:14 +0100 |
commit | ef0c8d5f9fe9c11c4b6e5aafdc7c1139771f6385 (patch) | |
tree | 6c4b34b9923786dff82357aa7d5366fed81167df | |
parent | db30f02b50a565091376b316208bfdddd729b4ed (diff) |
Make ustream IE more robust
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 6 |
1 files 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 @@ 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'https?://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') |