aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-24 16:33:07 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-24 16:33:07 +0100
commit54233c9080c1956f53802988fd8d5328cb38b7d7 (patch)
treed317ec8c92070572766a275e2e82083b56f3ad22
parentdb8e13ef714544574691f3dd4255dd0f12c1cf77 (diff)
[escapist] Support JavaScript player (Fixes #5034)
-rw-r--r--youtube_dl/extractor/escapist.py9
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=&quot;config=
+ )
+ ([^"&]+)
+ ''',
+ webpage, 'config URL'))
formats = []