diff --git a/youtube_dl/extractor/iol.py b/youtube_dl/extractor/iol.py index 1f7f1e032..f0b000870 100644 --- a/youtube_dl/extractor/iol.py +++ b/youtube_dl/extractor/iol.py @@ -64,15 +64,27 @@ class IOLIE(InfoExtractor): formats_m3u8_default = self._extract_m3u8_formats(m3u8_url_default, video_id, ext='mp4') formats.extend(formats_m3u8_default) - server = 'video2.iol.pt' - formats.append({ - 'url': 'rtmp://'+server+'/vod', - 'play_path': 'mp4:' + multimedia_id + '-L-500k', - 'format_id': 'rtmp-500', - 'tbr': 500, - 'protocol': 'rtmp', - 'ext': 'mp4' - }) + # try rtmp format + if self._html_search_regex(r'