forked from minhngoc25a/youtube-dl
[limelight] keep videos marked as previewStream
e382b953f0 (commitcomment-18472915)
This commit is contained in:
parent
697655a7c0
commit
a70e45f80a
|
@ -37,7 +37,7 @@ class LimelightBaseIE(InfoExtractor):
|
||||||
|
|
||||||
for stream in streams:
|
for stream in streams:
|
||||||
stream_url = stream.get('url')
|
stream_url = stream.get('url')
|
||||||
if not stream_url or stream.get('previewStream') or stream.get('drmProtected'):
|
if not stream_url or stream.get('drmProtected'):
|
||||||
continue
|
continue
|
||||||
ext = determine_ext(stream_url)
|
ext = determine_ext(stream_url)
|
||||||
if ext == 'f4m':
|
if ext == 'f4m':
|
||||||
|
@ -177,7 +177,7 @@ class LimelightMediaIE(LimelightBaseIE):
|
||||||
'subtitles': 'mincount:9',
|
'subtitles': 'mincount:9',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
# m3u8 download
|
# rtmp download
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in New Issue