mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[limelight] keep videos marked as previewStream
e382b953f0 (commitcomment-18472915)
This commit is contained in:
parent
697655a7c0
commit
a70e45f80a
@ -37,7 +37,7 @@ def _extract_info(self, streams, mobile_urls, properties):
|
|||||||
|
|
||||||
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
Block a user