mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[bbccouk] Skip unrecognized formats in media selector (#12701)
This commit is contained in:
parent
1af959ef9f
commit
964744af95
1 changed files with 2 additions and 0 deletions
|
@ -389,6 +389,8 @@ def _process_media_selector(self, media_selection, programme_id):
|
||||||
'rtmp_live': False,
|
'rtmp_live': False,
|
||||||
'ext': 'flv',
|
'ext': 'flv',
|
||||||
})
|
})
|
||||||
|
else:
|
||||||
|
continue
|
||||||
formats.append(fmt)
|
formats.append(fmt)
|
||||||
elif kind == 'captions':
|
elif kind == 'captions':
|
||||||
subtitles = self.extract_subtitles(media, programme_id)
|
subtitles = self.extract_subtitles(media, programme_id)
|
||||||
|
|
Loading…
Reference in a new issue