mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-16 00:02:43 +00:00
[extractor/common] Return MPD manifest as format's url meta field (#20242)
For symmetry with other segmented media
This commit is contained in:
parent
e7e62441cd
commit
39c780fdec
1 changed files with 1 additions and 1 deletions
|
@ -2120,7 +2120,7 @@ class InfoExtractor(object):
|
||||||
bandwidth = int_or_none(representation_attrib.get('bandwidth'))
|
bandwidth = int_or_none(representation_attrib.get('bandwidth'))
|
||||||
f = {
|
f = {
|
||||||
'format_id': '%s-%s' % (mpd_id, representation_id) if mpd_id else representation_id,
|
'format_id': '%s-%s' % (mpd_id, representation_id) if mpd_id else representation_id,
|
||||||
'url': base_url,
|
'url': mpd_url,
|
||||||
'manifest_url': mpd_url,
|
'manifest_url': mpd_url,
|
||||||
'ext': mimetype2ext(mime_type),
|
'ext': mimetype2ext(mime_type),
|
||||||
'width': int_or_none(representation_attrib.get('width')),
|
'width': int_or_none(representation_attrib.get('width')),
|
||||||
|
|
Loading…
Reference in a new issue