1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-06-30 05:01:21 +02:00

[bbccouk] Skip unrecognized formats in media selector (#12701)

This commit is contained in:
Sergey M․ 2017-04-10 22:53:51 +07:00
parent 1af959ef9f
commit 964744af95
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -389,6 +389,8 @@ def _process_media_selector(self, media_selection, programme_id):
'rtmp_live': False,
'ext': 'flv',
})
else:
continue
formats.append(fmt)
elif kind == 'captions':
subtitles = self.extract_subtitles(media, programme_id)