aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-06 19:42:03 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-06 19:42:03 +0600
commit79a350857911d21bb04c90b2db04d7f6f0a3676b (patch)
tree7b72dc9ba71ec0307ec27e9aedc11f88ecc11f7f /youtube_dl/extractor/generic.py
parent1b840245bdcc7789f996c9bb163af79efbebc813 (diff)
[extractor/generic] Detect DASH manifests in found URLs and extract mpd formats
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 6b52e75dc..6de777c41 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -1959,6 +1959,8 @@ class GenericIE(InfoExtractor):
return self.playlist_result(self._extract_xspf_playlist(video_url, video_id), video_id)
elif ext == 'm3u8':
entry_info_dict['formats'] = self._extract_m3u8_formats(video_url, video_id, ext='mp4')
+ elif ext == 'mpd':
+ entry_info_dict['formats'] = self._extract_mpd_formats(video_url, video_id)
else:
entry_info_dict['url'] = video_url