[life:embed] Use native hls

This commit is contained in:
Sergey M․ 2016-05-23 04:22:09 +06:00
parent 5181759c0d
commit 5db9df622f
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -188,7 +188,8 @@ class LifeEmbedIE(InfoExtractor):
ext = determine_ext(video_url) ext = determine_ext(video_url)
if ext == 'm3u8': if ext == 'm3u8':
formats.extend(self._extract_m3u8_formats( formats.extend(self._extract_m3u8_formats(
video_url, video_id, 'mp4', m3u8_id='m3u8')) video_url, video_id, 'mp4',
entry_protocol='m3u8_native', m3u8_id='m3u8'))
else: else:
formats.append({ formats.append({
'url': video_url, 'url': video_url,