Browse Source

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

master
Sergey M․ 7 years ago
parent
commit
964744af95
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 0 deletions
  1. 2
      youtube_dl/extractor/bbc.py

2
youtube_dl/extractor/bbc.py

@ -389,6 +389,8 @@ class BBCCoUkIE(InfoExtractor):
'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…
Cancel
Save