aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/vevo.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-02-06 06:26:02 +0100
committerremitamine <remitamine@gmail.com>2016-02-06 06:26:02 +0100
commit66159b38aad38d55f84a358a0c2ed2add9a2946d (patch)
tree4768cc49d929039a5a3c866600b7c0aee475f35d /youtube_dl/extractor/vevo.py
parent23d17e4bebdff9a5defa012e4fa5cd99db605919 (diff)
parent255732f0d33268aeababb1b3ce37a1defb5bc965 (diff)
Merge pull request #8408 from remitamine/dash
Add generic support for mpd manifests(dash formats)
Diffstat (limited to 'youtube_dl/extractor/vevo.py')
-rw-r--r--youtube_dl/extractor/vevo.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py
index 35fcff1b2..152fef42e 100644
--- a/youtube_dl/extractor/vevo.py
+++ b/youtube_dl/extractor/vevo.py
@@ -197,8 +197,14 @@ class VevoIE(InfoExtractor):
if not version_url:
continue
- if '.mpd' in version_url or '.ism' in version_url:
+ if '.ism' in version_url:
continue
+ elif '.mpd' in version_url:
+ formats.extend(self._extract_mpd_formats(
+ version_url, video_id, mpd_id='dash-%s' % version,
+ note='Downloading %s MPD information' % version,
+ errnote='Failed to download %s MPD information' % version,
+ fatal=False))
elif '.m3u8' in version_url:
formats.extend(self._extract_m3u8_formats(
version_url, video_id, 'mp4', 'm3u8_native',