[npo] Add extension for m3u8

This commit is contained in:
Sergey M․ 2016-01-31 02:38:28 +06:00
parent 8f1fddc816
commit a7685b3a6b

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