Ver Fonte

[life:embed] Use native hls

Sergey M․ há 9 anos atrás
pai
commit
5db9df622f
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      youtube_dl/extractor/lifenews.py

+ 2 - 1
youtube_dl/extractor/lifenews.py

@@ -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,