From: tinybug Date: Fri, 21 Nov 2014 09:09:22 +0000 (+0800) Subject: Update jsinterp.py X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=85b9275517869bb7fb150ff65b9021ca49009b8b;p=youtube-dl Update jsinterp.py http://s.ytimg.com/yts/jsbin/html5player-zh_HK-vfl1NK6PR/html5player.js fix raise ExtractorError --- 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[a-zA-Z0-9_]+)\.(?P[^(]+)(?:\(+(?P[^()]*)\))?$', + r'^(?P[$a-zA-Z0-9_]+)\.(?P[^(]+)(?:\(+(?P[^()]*)\))?$', expr) if m: variable = m.group('var')