1 from __future__ import unicode_literals
3 from .common import InfoExtractor
9 class RtmpIE(InfoExtractor):
10 IE_DESC = False # Do not list
11 _VALID_URL = r'(?i)rtmp[est]?://.+'
14 'url': 'rtmp://cp44293.edgefcs.net/ondemand?auth=daEcTdydfdqcsb8cZcDbAaCbhamacbbawaS-bw7dBb-bWG-GqpGFqCpNCnGoyL&aifp=v001&slist=public/unsecure/audio/2c97899446428e4301471a8cb72b4b97--audio--pmg-20110908-0900a_flv_aac_med_int.mp4',
15 'only_matching': True,
17 'url': 'rtmp://edge.live.hitbox.tv/live/dimak',
18 'only_matching': True,
21 def _real_extract(self, url):
22 video_id = self._generic_id(url)
23 title = self._generic_title(url)
30 'format_id': compat_urlparse.urlparse(url).scheme,
35 class MmsIE(InfoExtractor):
36 IE_DESC = False # Do not list
37 _VALID_URL = r'(?i)mms://.+'
41 'url': 'mms://kentro.kaist.ac.kr/200907/MilesReid(0709).wmv',
43 'id': 'MilesReid(0709)',
45 'title': 'MilesReid(0709)',
48 'skip_download': True, # rtsp downloads, requiring mplayer or mpv
52 def _real_extract(self, url):
53 video_id = self._generic_id(url)
54 title = self._generic_title(url)