]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[faz] fix info extraction
authorremitamine <remitamine@gmail.com>
Sat, 19 Dec 2015 18:02:04 +0000 (19:02 +0100)
committerremitamine <remitamine@gmail.com>
Sat, 19 Dec 2015 18:02:04 +0000 (19:02 +0100)
youtube_dl/extractor/faz.py

index cebdd0193a82eaccc673dffe9d001f766e9e31d1..d9a868119cdf13a35345d76e0443aa4a56879a38 100644 (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')