1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 19:36:50 +01:00

[viki] Lower m3u8 preference

http URLs are always provde the same or better quality
This commit is contained in:
Sergey M․ 2016-07-17 18:12:03 +07:00
parent 246080d378
commit 890e6d3309
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View 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