projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a35cb
)
[viki] fix stream extraction from mpd (#27092)
author
beefchop
<32330393+beefchop@users.noreply.github.com>
Thu, 19 Nov 2020 20:38:09 +0000
(07:38 +1100)
committer
GitHub
<noreply@github.com>
Thu, 19 Nov 2020 20:38:09 +0000
(21:38 +0100)
Co-authored-by: beefchop <beefchop@users.noreply.github.com>
youtube_dl/extractor/viki.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/viki.py
b/youtube_dl/extractor/viki.py
index b0dcdc0e6baced889541e3307ac8314e73f99522..48ab7b944e7bc253197b1d972386da348b1a74cb 100644
(file)
--- 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:.+)$',