1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-12 07:09:31 +01: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) 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')