Browse Source

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

master
Sergey M․ 8 years ago
parent
commit
cc7397b04d
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/ceskatelevize.py

3
youtube_dl/extractor/ceskatelevize.py

@ -129,7 +129,8 @@ class CeskaTelevizeIE(InfoExtractor):
formats = [] formats = []
for format_id, stream_url in item['streamUrls'].items(): for format_id, stream_url in item['streamUrls'].items():
formats.extend(self._extract_m3u8_formats( 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) self._sort_formats(formats)
item_id = item.get('id') or item['assetId'] item_id = item.get('id') or item['assetId']

Loading…
Cancel
Save