1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-24 23:44:54 +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'))