aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/mtv.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-01-10 22:31:20 +0700
committerSergey M․ <dstftw@gmail.com>2017-01-10 22:31:20 +0700
commitcdd11c054013997b6f0053a3958b6e5b0aa698b6 (patch)
tree1f04dd1ee782f91dd33f34550f1ed6e64de1365f /youtube_dl/extractor/mtv.py
parent67fc365b86dccac4b52c5eb7a3f1e659ef945dc9 (diff)
[mtv] Use native hls by default
Diffstat (limited to 'youtube_dl/extractor/mtv.py')
-rw-r--r--youtube_dl/extractor/mtv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py
index d27c6686b..5250db212 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: