projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8e13e
)
[escapist] Support JavaScript player (Fixes #5034)
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 24 Feb 2015 15:33:07 +0000
(16:33 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 24 Feb 2015 15:33:07 +0000
(16:33 +0100)
youtube_dl/extractor/escapist.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/escapist.py
b/youtube_dl/extractor/escapist.py
index b49b9869f2356eaa7e09916046a8f4b30f4f5d47..51ffec7ee381ec74b78442a054825592ff128446 100644
(file)
--- 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 = []