[MDR] Switched m3u8_native for m3u8
Using m3u8_native not all players are able to play the downloaded file. Can be switched back at runtime by using hls_prefer_native setting.
This commit is contained in:
parent
efbeddead3
commit
a51322a023
@ -99,7 +99,7 @@ class MDRIE(InfoExtractor):
|
|||||||
ext = determine_ext(url_el.text)
|
ext = determine_ext(url_el.text)
|
||||||
if ext == 'm3u8':
|
if ext == 'm3u8':
|
||||||
url_formats = self._extract_m3u8_formats(
|
url_formats = self._extract_m3u8_formats(
|
||||||
video_url, video_id, 'mp4', entry_protocol='m3u8_native',
|
video_url, video_id, 'mp4', entry_protocol='m3u8',
|
||||||
preference=0, m3u8_id='HLS', fatal=False)
|
preference=0, m3u8_id='HLS', fatal=False)
|
||||||
elif ext == 'f4m':
|
elif ext == 'f4m':
|
||||||
url_formats = self._extract_f4m_formats(
|
url_formats = self._extract_f4m_formats(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user