logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 39c780fdec2c62135f37e3565efedf7dcad605ba
parent e7e62441cdde6dca6211c073be73677f195a0dff
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue,  5 Mar 2019 00:37:39 +0700

[extractor/common] Return MPD manifest as format's url meta field (#20242)
For symmetry with other segmented media

Diffstat:

Myoutube_dl/extractor/common.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py @@ -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')),