[extractor/common] Return MPD manifest as format's url meta field (#20242)
authorSergey M․ <dstftw@gmail.com>
Mon, 4 Mar 2019 17:37:39 +0000 (00:37 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 4 Mar 2019 17:40:57 +0000 (00:40 +0700)
For symmetry with other segmented media

youtube_dl/extractor/common.py

index c3b0586a0da65ce42ce5f3ca6aee2e7119d3d98f..1fa8048b833489bce7a42cba3374b806e5b0f9e9 100644 (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')),