mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 13:46:53 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
parent
8d212e604a
commit
7070b83687
@ -31,7 +31,6 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
xml_config = self._download_webpage(xml_link, title,
|
xml_config = self._download_webpage(xml_link, title,
|
||||||
'Downloading XML config')
|
'Downloading XML config')
|
||||||
|
|
||||||
config = xml.etree.ElementTree.fromstring(xml_config.encode('utf-8'))
|
config = xml.etree.ElementTree.fromstring(xml_config.encode('utf-8'))
|
||||||
info = re.search(r'<format\.json>(.*?)</format\.json>',
|
info = re.search(r'<format\.json>(.*?)</format\.json>',
|
||||||
xml_config, re.MULTILINE|re.DOTALL).group(1)
|
xml_config, re.MULTILINE|re.DOTALL).group(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user