1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-21 00:03:03 +08: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')