From: remitamine Date: Sat, 19 Dec 2015 18:02:04 +0000 (+0100) Subject: [faz] fix info extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=fa64a8431166ad7ca7bd2881306ee379b6e2abfd;p=youtube-dl [faz] fix info extraction --- diff --git a/youtube_dl/extractor/faz.py b/youtube_dl/extractor/faz.py index cebdd0193..d9a868119 100644 --- a/youtube_dl/extractor/faz.py +++ b/youtube_dl/extractor/faz.py @@ -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')