[hotstar] Use native HLS downloader by default
authorSergey M․ <dstftw@gmail.com>
Wed, 18 Sep 2019 20:02:15 +0000 (03:02 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 18 Sep 2019 20:03:07 +0000 (03:03 +0700)
youtube_dl/extractor/hotstar.py

index c7545a1e66cc168b025c4888e315bc3e41e60cf9..f9f7c5a645793eb13c44af45914b768b1982fe2d 100644 (file)
@@ -136,7 +136,8 @@ class HotStarIE(HotStarBaseIE):
             try:
                 if 'package:hls' in tags or ext == 'm3u8':
                     formats.extend(self._extract_m3u8_formats(
-                        format_url, video_id, 'mp4', m3u8_id='hls'))
+                        format_url, video_id, 'mp4',
+                        entry_protocol='m3u8_native', m3u8_id='hls'))
                 elif 'package:dash' in tags or ext == 'mpd':
                     formats.extend(self._extract_mpd_formats(
                         format_url, video_id, mpd_id='dash'))