diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-02-24 16:33:07 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-02-24 16:33:07 +0100 |
commit | 54233c9080c1956f53802988fd8d5328cb38b7d7 (patch) | |
tree | d317ec8c92070572766a275e2e82083b56f3ad22 | |
parent | db8e13ef714544574691f3dd4255dd0f12c1cf77 (diff) |
[escapist] Support JavaScript player (Fixes #5034)
-rw-r--r-- | youtube_dl/extractor/escapist.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/youtube_dl/extractor/escapist.py b/youtube_dl/extractor/escapist.py index b49b9869f..51ffec7ee 100644 --- 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 = [] |