[ooyala] extract all hls formats

This commit is contained in:
Remita Amine 2016-09-21 21:49:52 +01:00
parent 12f211d0cb
commit 1978540a51

View File

@ -47,7 +47,7 @@ def _extract(self, content_tree_url, video_id, domain='example.org'):
delivery_type = stream['delivery_type']
if delivery_type == 'hls' or ext == 'm3u8':
formats.extend(self._extract_m3u8_formats(
s_url, embed_code, 'mp4', 'm3u8_native',
re.sub(r'/ip(?:ad|hone)/', '/all/', s_url), embed_code, 'mp4', 'm3u8_native',
m3u8_id='hls', fatal=False))
elif delivery_type == 'hds' or ext == 'f4m':
formats.extend(self._extract_f4m_formats(