1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-15 11:33:30 +01: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'))