mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 07:12:41 +00:00
[generic] Support mpd manifests without extension (#1806)
Authored by: shirt-dev
This commit is contained in:
parent
18d6dd4e01
commit
cf1f13b817
1 changed files with 2 additions and 0 deletions
|
@ -2601,6 +2601,8 @@ class GenericIE(InfoExtractor):
|
||||||
subtitles = {}
|
subtitles = {}
|
||||||
if format_id.endswith('mpegurl'):
|
if format_id.endswith('mpegurl'):
|
||||||
formats, subtitles = self._extract_m3u8_formats_and_subtitles(url, video_id, 'mp4')
|
formats, subtitles = self._extract_m3u8_formats_and_subtitles(url, video_id, 'mp4')
|
||||||
|
elif format_id.endswith('mpd') or format_id.endswith('dash+xml'):
|
||||||
|
formats, subtitles = self._extract_mpd_formats_and_subtitles(url, video_id)
|
||||||
elif format_id == 'f4m':
|
elif format_id == 'f4m':
|
||||||
formats = self._extract_f4m_formats(url, video_id)
|
formats = self._extract_f4m_formats(url, video_id)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue