mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-23 00:07:49 +00:00
[bloomberg] Modernize
This commit is contained in:
parent
7ad4258add
commit
9a4f12be98
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class BloombergIE(InfoExtractor):
|
||||||
'http://www.bloomberg.com/api/embed?id=%s' % video_id, video_id)
|
'http://www.bloomberg.com/api/embed?id=%s' % video_id, video_id)
|
||||||
formats = []
|
formats = []
|
||||||
for stream in embed_info['streams']:
|
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))
|
formats.extend(self._extract_m3u8_formats(stream['url'], video_id))
|
||||||
else:
|
else:
|
||||||
formats.extend(self._extract_f4m_formats(stream['url'], video_id))
|
formats.extend(self._extract_f4m_formats(stream['url'], video_id))
|
||||||
|
|
Loading…
Reference in a new issue