[faz] fix info extraction

pull/8/head
remitamine 9 years ago
parent e0f06eae43
commit fa64a84311

@ -38,7 +38,7 @@ class FazIE(InfoExtractor):
webpage = self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id)
config_xml_url = self._search_regex( 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 = self._download_xml(
config_xml_url, video_id, 'Downloading config xml') config_xml_url, video_id, 'Downloading config xml')

Loading…
Cancel
Save