Skip to content

Commit

Permalink
[viki] fix stream extraction from mpd (#27092)
Browse files Browse the repository at this point in the history
Co-authored-by: beefchop <beefchop@users.noreply.github.com>
  • Loading branch information
beefchop and beefchop authored Nov 19, 2020
1 parent 25a35cb commit daa25d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions youtube_dl/extractor/viki.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ def _real_extract(self, url):
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:.+)$',
Expand Down

0 comments on commit daa25d4

Please sign in to comment.