mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-26 08:17:54 +01:00
sensible default
This commit is contained in:
parent
c0921838fb
commit
1dbce20d53
@ -95,7 +95,7 @@ class IOLIE(InfoExtractor):
|
|||||||
formats.extend(formats_m3u8_default)
|
formats.extend(formats_m3u8_default)
|
||||||
|
|
||||||
# try rtmp format
|
# 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'
|
server = 'video1.iol.pt'
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user