Browse Source

[ndr:embed:base] Add missing ext for m3u8

Sergey M․ 9 years ago
parent
commit
38c84acae5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/ndr.py

+ 1 - 1
youtube_dl/extractor/ndr.py

@@ -193,7 +193,7 @@ class NDREmbedBaseIE(InfoExtractor):
                     src + '?hdcore=3.7.0&plugin=aasp-3.7.0.39.44', video_id, f4m_id='hds'))
                     src + '?hdcore=3.7.0&plugin=aasp-3.7.0.39.44', video_id, f4m_id='hds'))
             elif ext == 'm3u8':
             elif ext == 'm3u8':
                 formats.extend(self._extract_m3u8_formats(
                 formats.extend(self._extract_m3u8_formats(
-                    src, video_id, m3u8_id='hls', entry_protocol='m3u8_native'))
+                    src, video_id, 'mp4', m3u8_id='hls', entry_protocol='m3u8_native'))
             else:
             else:
                 quality = f.get('quality')
                 quality = f.get('quality')
                 ff = {
                 ff = {