[cleanup] Don't pass protocol to _extract_m3u8_formats for live videos
`live` parameter already handles changing the protocol
This commit is contained in:
parent
f494ddada8
commit
a5c0c20252
8 changed files with 9 additions and 22 deletions
|
|
@ -111,8 +111,7 @@ class ThreeQSDNIE(InfoExtractor):
|
|||
subtitles = self._merge_subtitles(subtitles, subs)
|
||||
elif source_type == 'hls':
|
||||
fmts, subs = self._extract_m3u8_formats_and_subtitles(
|
||||
source, video_id, 'mp4', 'm3u8' if live else 'm3u8_native',
|
||||
m3u8_id='hls', fatal=False)
|
||||
source, video_id, 'mp4', live=live, m3u8_id='hls', fatal=False)
|
||||
formats.extend(fmts)
|
||||
subtitles = self._merge_subtitles(subtitles, subs)
|
||||
elif source_type == 'progressive':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue