aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/faz.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-12-19 19:02:04 +0100
committerremitamine <remitamine@gmail.com>2015-12-19 19:02:04 +0100
commitfa64a8431166ad7ca7bd2881306ee379b6e2abfd (patch)
tree94d85e68316d49efd2628d1c57b693a81b742faa /youtube_dl/extractor/faz.py
parente0f06eae432e592b159237f2ce9813449431cc7b (diff)
[faz] fix info extraction
Diffstat (limited to 'youtube_dl/extractor/faz.py')
-rw-r--r--youtube_dl/extractor/faz.py2
1 files changed, 1 insertions, 1 deletions
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')