Browse Source

Make ustream IE more robust

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
ef0c8d5f9f
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      youtube_dl/InfoExtractors.py

+ 3
- 3
youtube_dl/InfoExtractors.py 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')


Loading…
Cancel
Save