From: Sergey M․ Date: Mon, 10 Apr 2017 15:53:51 +0000 (+0700) Subject: [bbccouk] Skip unrecognized formats in media selector (#12701) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=964744af952fc372e961a4b6b4b0f3ed6172a83f;p=youtube-dl [bbccouk] Skip unrecognized formats in media selector (#12701) --- 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)