aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-04-10 22:53:51 +0700
committerSergey M․ <dstftw@gmail.com>2017-04-10 22:53:51 +0700
commit964744af952fc372e961a4b6b4b0f3ed6172a83f (patch)
treeee2d63abe225f9f7320651fd20aa2e200fb51d44 /youtube_dl
parent1af959ef9f8936a8e211f692a2da1a69e0076962 (diff)
[bbccouk] Skip unrecognized formats in media selector (#12701)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/bbc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/bbc.py b/youtube_dl/extractor/bbc.py
index f0de07619..a0c77b0b0 100644
--- a/youtube_dl/extractor/bbc.py
+++ b/youtube_dl/extractor/bbc.py
@@ -389,6 +389,8 @@ class BBCCoUkIE(InfoExtractor):
'rtmp_live': False,
'ext': 'flv',
})
+ else:
+ continue
formats.append(fmt)
elif kind == 'captions':
subtitles = self.extract_subtitles(media, programme_id)