commit 54233c9080c1956f53802988fd8d5328cb38b7d7 parent db8e13ef714544574691f3dd4255dd0f12c1cf77 Author: Philipp Hagemeister <phihag@phihag.de> Date: Tue, 24 Feb 2015 16:33:07 +0100 [escapist] Support JavaScript player (Fixes #5034) Diffstat:
M | youtube_dl/extractor/escapist.py | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/escapist.py b/youtube_dl/extractor/escapist.py @@ -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="config= + ) + ([^"&]+) + ''', + webpage, 'config URL')) formats = []