[ceskatelevize] Make m3u8 formats extraction non fatal (Closes #8933)

This commit is contained in:
Sergey M․ 2016-03-22 21:12:29 +06:00
parent bc5d16b302
commit cc7397b04d

View File

@ -129,7 +129,8 @@ def _real_extract(self, url):
formats = []
for format_id, stream_url in item['streamUrls'].items():
formats.extend(self._extract_m3u8_formats(
stream_url, playlist_id, 'mp4', entry_protocol='m3u8_native'))
stream_url, playlist_id, 'mp4',
entry_protocol='m3u8_native', fatal=False))
self._sort_formats(formats)
item_id = item.get('id') or item['assetId']