mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[ceskatelevize] Make m3u8 formats extraction non fatal (Closes #8933)
This commit is contained in:
parent
bc5d16b302
commit
cc7397b04d
@ -129,7 +129,8 @@ def _real_extract(self, url):
|
|||||||
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…
Reference in New Issue
Block a user