mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-04 04:07:26 +00:00
[extractor/generic] Detect DASH manifests in found URLs and extract mpd formats
This commit is contained in:
parent
1b840245bd
commit
79a3508579
1 changed files with 2 additions and 0 deletions
|
@ -1959,6 +1959,8 @@ def filter_video(urls):
|
||||||
return self.playlist_result(self._extract_xspf_playlist(video_url, video_id), video_id)
|
return self.playlist_result(self._extract_xspf_playlist(video_url, video_id), video_id)
|
||||||
elif ext == 'm3u8':
|
elif ext == 'm3u8':
|
||||||
entry_info_dict['formats'] = self._extract_m3u8_formats(video_url, video_id, ext='mp4')
|
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:
|
else:
|
||||||
entry_info_dict['url'] = video_url
|
entry_info_dict['url'] = video_url
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue