From: Sergey M․ Date: Sat, 28 Nov 2015 16:40:29 +0000 (+0600) Subject: [bloomberg] Modernize X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=9a4f12be98a0d59de9b5da65d2cc24b04fe26929;p=youtube-dl [bloomberg] Modernize --- diff --git a/youtube_dl/extractor/bloomberg.py b/youtube_dl/extractor/bloomberg.py index 8b2f94211..b6197d3f1 100644 --- a/youtube_dl/extractor/bloomberg.py +++ b/youtube_dl/extractor/bloomberg.py @@ -35,7 +35,7 @@ class BloombergIE(InfoExtractor): 'http://www.bloomberg.com/api/embed?id=%s' % video_id, video_id) formats = [] for stream in embed_info['streams']: - if stream["muxing_format"] == "TS": + if stream['muxing_format'] == 'TS': formats.extend(self._extract_m3u8_formats(stream['url'], video_id)) else: formats.extend(self._extract_f4m_formats(stream['url'], video_id))