1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-30 04:08:01 +01:00

sensible default

This commit is contained in:
PC 2015-10-10 22:45:11 +01:00
parent c08eeccfe1
commit 9653ed1bc6

View File

@ -95,7 +95,7 @@ class IOLIE(InfoExtractor):
formats.extend(formats_m3u8_default)
# try rtmp format
if self._html_search_regex(r'<script\s+src\s*=\s*"([^"]*/cdn\.iol\.pt/js/iol\.js)"', webpage, "iol.js", fatal=False):
if self._html_search_regex(r'<script\s+src\s*=\s*"([^"]*/cdn\.iol\.pt/js/iol\.js)"', webpage, "iol.js", fatal=False, default=None):
server = 'video1.iol.pt'
try: