mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 23:25:06 +00:00
[canvas] extract dash formats
This commit is contained in:
parent
3a40f859b5
commit
67dcbc0add
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@ def _real_extract(self, url):
|
||||||
elif format_type == 'HDS':
|
elif format_type == 'HDS':
|
||||||
formats.extend(self._extract_f4m_formats(
|
formats.extend(self._extract_f4m_formats(
|
||||||
format_url, display_id, f4m_id=format_type, fatal=False))
|
format_url, display_id, f4m_id=format_type, fatal=False))
|
||||||
|
elif format_type == 'MPEG_DASH':
|
||||||
|
formats.extend(self._extract_mpd_formats(
|
||||||
|
format_url, display_id, mpd_id=format_type, fatal=False))
|
||||||
else:
|
else:
|
||||||
formats.append({
|
formats.append({
|
||||||
'format_id': format_type,
|
'format_id': format_type,
|
||||||
|
|
Loading…
Reference in a new issue