projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b84024
)
[extractor/generic] Detect DASH manifests in found URLs and extract mpd formats
author
Sergey M․
<dstftw@gmail.com>
Sat, 6 Feb 2016 13:42:03 +0000
(19:42 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 6 Feb 2016 13:42:03 +0000
(19:42 +0600)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 6b52e75dcb85c1585b4cab53000a83e3fac25dbf..6de777c41e8a4e602e22b233af9c8d231875b749 100644
(file)
--- 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