[npo] Add extension for m3u8
authorSergey M․ <dstftw@gmail.com>
Sat, 30 Jan 2016 20:38:28 +0000 (02:38 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 30 Jan 2016 20:38:28 +0000 (02:38 +0600)
youtube_dl/extractor/npo.py

index eb12fb8102deaf438621d303589488b0e831d774..7cd5c9303d050904bd6391b4c86a4b53e0c3e62a 100644 (file)
@@ -189,7 +189,7 @@ class NPOIE(NPOBaseIE):
                 if not video_url:
                     continue
                 if format_id == 'adaptive':
-                    formats.extend(self._extract_m3u8_formats(video_url, video_id))
+                    formats.extend(self._extract_m3u8_formats(video_url, video_id, 'mp4'))
                 else:
                     formats.append({
                         'url': video_url,