Browse Source

[life:embed] Use native hls

totalwebcasting
Sergey M․ 9 years ago
parent
commit
5db9df622f
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/lifenews.py

+ 2
- 1
youtube_dl/extractor/lifenews.py View File

@ -188,7 +188,8 @@ class LifeEmbedIE(InfoExtractor):
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,


Loading…
Cancel
Save