Skip to content

A feature-rich command-line audio/video downloader

[mtv] Use native hls by default

Sergey M․cdd11c054013
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
index d27c6686ba..5250db2127 100644
--- a/youtube_dl/extractor/mtv.py
+++ b/youtube_dl/extractor/mtv.py
@@ -90,7 +90,8 @@ class MTVServicesInfoExtractor(InfoExtractor):
for rendition in mdoc.findall('.//rendition'):
if rendition.get('method') == 'hls':
hls_url = rendition.find('./src').text
- formats.extend(self._extract_m3u8_formats(hls_url, video_id, ext='mp4'))
+ formats.extend(self._extract_m3u8_formats(
+ hls_url, video_id, ext='mp4', entry_protocol='m3u8_native'))
else:
# fms
try: