1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 18:36:06 +08:00

[extractor/common] Return MPD manifest as format's url meta field (#20242)

For symmetry with other segmented media
This commit is contained in:
Sergey M․ 2019-03-05 00:37:39 +07:00
parent e7e62441cd
commit 39c780fdec
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -2120,7 +2120,7 @@ class InfoExtractor(object):
bandwidth = int_or_none(representation_attrib.get('bandwidth'))
f = {
'format_id': '%s-%s' % (mpd_id, representation_id) if mpd_id else representation_id,
'url': base_url,
'url': mpd_url,
'manifest_url': mpd_url,
'ext': mimetype2ext(mime_type),
'width': int_or_none(representation_attrib.get('width')),