mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 13:46:53 +01:00
[gdcvault] Fix typo: xml_decription_url -> xml_description_url
This commit is contained in:
parent
44cae2fb2e
commit
525a87f58e
@ -183,8 +183,8 @@ def _real_extract(self, url):
|
|||||||
# Fallback to the older format
|
# Fallback to the older format
|
||||||
xml_name = self._html_search_regex(r'<iframe src=".*?\?xmlURL=xml/(?P<xml_file>.+?\.xml).*?".*?</iframe>', start_page, 'xml filename')
|
xml_name = self._html_search_regex(r'<iframe src=".*?\?xmlURL=xml/(?P<xml_file>.+?\.xml).*?".*?</iframe>', start_page, 'xml filename')
|
||||||
|
|
||||||
xml_decription_url = xml_root + 'xml/' + xml_name
|
xml_description_url = xml_root + 'xml/' + xml_name
|
||||||
xml_description = self._download_xml(xml_decription_url, display_id)
|
xml_description = self._download_xml(xml_description_url, display_id)
|
||||||
|
|
||||||
video_title = xml_description.find('./metadata/title').text
|
video_title = xml_description.find('./metadata/title').text
|
||||||
video_formats = self._parse_mp4(xml_description)
|
video_formats = self._parse_mp4(xml_description)
|
||||||
|
Loading…
Reference in New Issue
Block a user