Browse Source

[escapist] Support JavaScript player (Fixes #5034)

master
Philipp Hagemeister 9 years ago
parent
commit
54233c9080
1 changed files with 8 additions and 1 deletions
  1. 9
      youtube_dl/extractor/escapist.py

9
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 = []

Loading…
Cancel
Save