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

This commit is contained in:
Sergey M․ 2016-01-28 22:50:18 +06:00
parent 29f46c2bee
commit 38c84acae5

View File

@ -193,7 +193,7 @@ def _real_extract(self, url):
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 = {