mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[extractor/generic] Pass mpd base url to _parse_mpd_formats
This commit is contained in:
		| @@ -1302,7 +1302,8 @@ class GenericIE(InfoExtractor): | ||||
|                 return { | ||||
|                     'id': video_id, | ||||
|                     'title': compat_urllib_parse_unquote(os.path.splitext(url_basename(url))[0]), | ||||
|                     'formats': self._parse_mpd_formats(doc, video_id), | ||||
|                     'formats': self._parse_mpd_formats( | ||||
|                         doc, video_id, mpd_base_url=url.rpartition('/')[0]), | ||||
|                 } | ||||
|         except compat_xml_parse_error: | ||||
|             pass | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․