]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[viki] Lower m3u8 preference
authorSergey M․ <dstftw@gmail.com>
Sun, 17 Jul 2016 11:12:03 +0000 (18:12 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 17 Jul 2016 11:12:03 +0000 (18:12 +0700)
http URLs are always provde the same or better quality

youtube_dl/extractor/viki.py

index fe2bb9df4f45ff89f6dd7531cadb7b0b1e0a56cd..0d634068910eeb8ec6c2abdc43f7f52b37c25d58 100644 (file)
@@ -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