[bloomberg] Modernize

This commit is contained in:
Sergey M․ 2015-11-28 22:40:29 +06:00
parent 7ad4258add
commit 9a4f12be98

View File

@ -35,7 +35,7 @@ def _real_extract(self, url):
'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))