mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-21 20:44:02 +00:00
[viki] fix stream extraction from mpd (#27092)
Co-authored-by: beefchop <beefchop@users.noreply.github.com>
This commit is contained in:
parent
25a35cb38a
commit
daa25d4142
@ -296,6 +296,9 @@ class VikiIE(VikiBaseIE):
|
|||||||
if f.get('acodec') == 'none' and f.get('vcodec') != 'none':
|
if f.get('acodec') == 'none' and f.get('vcodec') != 'none':
|
||||||
f['acodec'] = None
|
f['acodec'] = None
|
||||||
formats.extend(m3u8_formats)
|
formats.extend(m3u8_formats)
|
||||||
|
elif format_id == 'mpd':
|
||||||
|
formats.extend(self._extract_mpd_formats(
|
||||||
|
format_url, video_id, 'mpd-%s' % protocol, fatal=False))
|
||||||
elif format_url.startswith('rtmp'):
|
elif format_url.startswith('rtmp'):
|
||||||
mobj = re.search(
|
mobj = re.search(
|
||||||
r'^(?P<url>rtmp://[^/]+/(?P<app>.+?))/(?P<playpath>mp4:.+)$',
|
r'^(?P<url>rtmp://[^/]+/(?P<app>.+?))/(?P<playpath>mp4:.+)$',
|
||||||
|
Loading…
Reference in New Issue
Block a user