1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-10 21:22:51 +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 @@ def _real_extract(self, url):
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'))