1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-27 01:56:52 +00:00

[escapist] Fix config URL matching

This commit is contained in:
Philipp Hagemeister 2015-02-26 00:24:54 +01:00
parent c10ea454dc
commit 1c69bca258

View 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'))