1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

Make ustream IE more robust

This commit is contained in:
Philipp Hagemeister 2013-01-12 13:49:14 +01:00
parent db30f02b50
commit ef0c8d5f9f

View file

@ -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')