1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-05 18:52:48 +01:00

[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 @@ def _real_extract(self, url):
ext = determine_ext(video_url)
if ext == 'm3u8':
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:
formats.append({
'url': video_url,