summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-07-17 18:12:03 +0700
committerSergey M․ <dstftw@gmail.com>2016-07-17 18:12:03 +0700
commit890e6d3309ccddfc0445c4e3b88b16aa7a6c6c14 (patch)
treec2b569cff59a2944c9e9b2bf26b56012b5f9695a
parent246080d37878c17e481ec112fd12df52859f3c58 (diff)
downloadyoutube-dl-890e6d3309ccddfc0445c4e3b88b16aa7a6c6c14.tar.gz
youtube-dl-890e6d3309ccddfc0445c4e3b88b16aa7a6c6c14.tar.xz
youtube-dl-890e6d3309ccddfc0445c4e3b88b16aa7a6c6c14.zip
[viki] Lower m3u8 preference
http URLs are always provde the same or better quality
-rw-r--r--youtube_dl/extractor/viki.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/viki.py b/youtube_dl/extractor/viki.py
index fe2bb9df4..0d6340689 100644
--- a/youtube_dl/extractor/viki.py
+++ b/youtube_dl/extractor/viki.py
@@ -283,7 +283,7 @@ class VikiIE(VikiBaseIE):
                 if format_id == 'm3u8':
                     m3u8_formats = self._extract_m3u8_formats(
                         format_dict['url'], video_id, 'mp4',
-                        entry_protocol='m3u8_native',
+                        entry_protocol='m3u8_native', preference=-1,
                         m3u8_id='m3u8-%s' % protocol, fatal=False)
                     # Despite CODECS metadata in m3u8 all video-only formats
                     # are actually video+audio