mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 06:06:55 +01:00
[brightcove] fix streaming_src extraction
This commit is contained in:
parent
ed1269000f
commit
53407e3f38
@ -413,7 +413,7 @@ def _real_extract(self, url):
|
|||||||
if source_type == 'application/x-mpegURL':
|
if source_type == 'application/x-mpegURL':
|
||||||
formats.extend(self._extract_m3u8_formats(source.get('src'), video_id))
|
formats.extend(self._extract_m3u8_formats(source.get('src'), video_id))
|
||||||
else:
|
else:
|
||||||
src = source.get('src')
|
src = source.get('src') or source.get('streaming_src')
|
||||||
if src:
|
if src:
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': src,
|
'url': src,
|
||||||
@ -424,8 +424,6 @@ def _real_extract(self, url):
|
|||||||
'container': source.get('container'),
|
'container': source.get('container'),
|
||||||
'vcodec': source.get('container'),
|
'vcodec': source.get('container'),
|
||||||
})
|
})
|
||||||
else:
|
|
||||||
formats.extend(self._extract_f4m_formats(source.get('streaming_src'), video_id))
|
|
||||||
|
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user