From 9a4f12be98a0d59de9b5da65d2cc24b04fe26929 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sergey=20M=E2=80=A4?= Date: Sat, 28 Nov 2015 22:40:29 +0600 Subject: [PATCH] [bloomberg] Modernize --- youtube_dl/extractor/bloomberg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5