0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[faz] fix info extraction

This commit is contained in:
remitamine 2015-12-19 19:02:04 +01:00
parent e0f06eae43
commit fa64a84311

View file

@ -38,7 +38,7 @@ def _real_extract(self, url):
webpage = self._download_webpage(url, video_id)
config_xml_url = self._search_regex(
r'writeFLV\(\'(.+?)\',', webpage, 'config xml url')
r'(?:var\s+)?videoXMLURL\s*=\s*"([^"]+)', webpage, 'config xml url')
config = self._download_xml(
config_xml_url, video_id, 'Downloading config xml')