[escapist] Support JavaScript player (Fixes #5034)

pull/8/head
Philipp Hagemeister 10 years ago
parent db8e13ef71
commit 54233c9080

@ -42,7 +42,14 @@ class EscapistIE(InfoExtractor):
title = raw_title.partition(' : ')[2] title = raw_title.partition(' : ')[2]
config_url = compat_urllib_parse.unquote(self._html_search_regex( 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 = [] formats = []

Loading…
Cancel
Save