[vessel] Use native hls by default

This commit is contained in:
Sergey M․ 2016-06-09 04:09:32 +07:00
parent 48a5eabc48
commit a479b8f687
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -113,7 +113,8 @@ def _real_extract(self, url):
continue continue
if f.get('name') == 'hls-index': if f.get('name') == 'hls-index':
formats.extend(self._extract_m3u8_formats( formats.extend(self._extract_m3u8_formats(
location, video_id, ext='mp4', m3u8_id='m3u8')) location, video_id, ext='mp4',
entry_protocol='m3u8_native', m3u8_id='m3u8'))
else: else:
formats.append({ formats.append({
'format_id': f.get('name'), 'format_id': f.get('name'),