diff options
author | beefchop <32330393+beefchop@users.noreply.github.com> | 2020-11-20 07:38:09 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 21:38:09 +0100 |
commit | daa25d414284747980a9ad32e138a2ae388fcd0c (patch) | |
tree | c485a25d3226a3a2e7635e1c554f549570ac7a6d /youtube_dl/extractor | |
parent | 25a35cb38a472731d9f487309f6bcff94ee4918c (diff) | |
download | youtube-dl-daa25d414284747980a9ad32e138a2ae388fcd0c.tar.xz |
[viki] fix stream extraction from mpd (#27092)
Co-authored-by: beefchop <beefchop@users.noreply.github.com>
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/viki.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/extractor/viki.py b/youtube_dl/extractor/viki.py index b0dcdc0e6..48ab7b944 100644 --- a/youtube_dl/extractor/viki.py +++ b/youtube_dl/extractor/viki.py @@ -296,6 +296,9 @@ class VikiIE(VikiBaseIE): if f.get('acodec') == 'none' and f.get('vcodec') != 'none': f['acodec'] = None 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'): mobj = re.search( r'^(?P<url>rtmp://[^/]+/(?P<app>.+?))/(?P<playpath>mp4:.+)$', |