1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 17:53:11 +08:00

[escapist] Support JavaScript player (Fixes #5034)

This commit is contained in:
Philipp Hagemeister 2015-02-24 16:33:07 +01:00
parent db8e13ef71
commit 54233c9080

View File

@ -42,7 +42,14 @@ class EscapistIE(InfoExtractor):
title = raw_title.partition(' : ')[2]
config_url = compat_urllib_parse.unquote(self._html_search_regex(
r'<param\s+name="flashvars"\s+value="config=([^"&]+)', webpage, 'config URL'))
r'''(?x)
(?:
<param\s+name="flashvars"\s+value="config=|
flashvars=&quot;config=
)
([^"&]+)
''',
webpage, 'config URL'))
formats = []