[escapist] Fix config URL matching
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 25 Feb 2015 23:24:54 +0000 (00:24 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 25 Feb 2015 23:24:54 +0000 (00:24 +0100)
youtube_dl/extractor/escapist.py

index 51ffec7ee381ec74b78442a054825592ff128446..3244306dca7dba75cc8fcf36f829776f571b0b8c 100644 (file)
@@ -44,10 +44,10 @@ class EscapistIE(InfoExtractor):
         config_url = compat_urllib_parse.unquote(self._html_search_regex(
             r'''(?x)
             (?:
-                <param\s+name="flashvars"\s+value="config=|
+                <param\s+name="flashvars".*?\s+value="config=|
                 flashvars=&quot;config=
             )
-            ([^"&]+)
+            (https?://[^"&]+)
             ''',
             webpage, 'config URL'))