]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[extractor/generic] Detect DASH manifests in found URLs and extract mpd formats
authorSergey M․ <dstftw@gmail.com>
Sat, 6 Feb 2016 13:42:03 +0000 (19:42 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 6 Feb 2016 13:42:03 +0000 (19:42 +0600)
youtube_dl/extractor/generic.py

index 6b52e75dcb85c1585b4cab53000a83e3fac25dbf..6de777c41e8a4e602e22b233af9c8d231875b749 100644 (file)
@@ -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