aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authortinybug <tinybug1991@gmail.com>2014-11-21 17:09:22 +0800
committertinybug <tinybug1991@gmail.com>2014-11-21 17:09:22 +0800
commit85b9275517869bb7fb150ff65b9021ca49009b8b (patch)
tree6a93b751c46015c027984432e8430d36bf60aff7 /youtube_dl
parentdfd5313afdf00250d9b8a4e103bd7647713f1af3 (diff)
Update jsinterp.py
http://s.ytimg.com/yts/jsbin/html5player-zh_HK-vfl1NK6PR/html5player.js fix raise ExtractorError
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/jsinterp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/jsinterp.py b/youtube_dl/jsinterp.py
index c40cd376d..b4617fbad 100644
--- a/youtube_dl/jsinterp.py
+++ b/youtube_dl/jsinterp.py
@@ -61,7 +61,7 @@ class JSInterpreter(object):
pass
m = re.match(
- r'^(?P<var>[a-zA-Z0-9_]+)\.(?P<member>[^(]+)(?:\(+(?P<args>[^()]*)\))?$',
+ r'^(?P<var>[$a-zA-Z0-9_]+)\.(?P<member>[^(]+)(?:\(+(?P<args>[^()]*)\))?$',
expr)
if m:
variable = m.group('var')