From: beefchop <32330393+beefchop@users.noreply.github.com> Date: Thu, 19 Nov 2020 20:38:09 +0000 (+1100) Subject: [viki] fix stream extraction from mpd (#27092) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=daa25d414284747980a9ad32e138a2ae388fcd0c;p=youtube-dl [viki] fix stream extraction from mpd (#27092) Co-authored-by: beefchop --- 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'^(?Prtmp://[^/]+/(?P.+?))/(?Pmp4:.+)$',