1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-29 11:05:13 +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 @@ class FazIE(InfoExtractor):
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')