aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/jsinterp.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-21 10:41:02 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-21 10:41:02 +0100
commite6c9c8f6ee05a39f79acd6395474b9f2001df42b (patch)
tree6a93b751c46015c027984432e8430d36bf60aff7 /youtube_dl/jsinterp.py
parentdfd5313afdf00250d9b8a4e103bd7647713f1af3 (diff)
parent85b9275517869bb7fb150ff65b9021ca49009b8b (diff)
Merge pull request #4261 from tinybug/patch-4
Update jsinterp.py
Diffstat (limited to 'youtube_dl/jsinterp.py')
-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')