Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/jsinterp.py
|
|
@ -232,7 +232,7 @@ class JSInterpreter(object): |
|
|
|
def extract_function(self, funcname): |
|
|
|
func_m = re.search( |
|
|
|
r'''(?x) |
|
|
|
(?:function\s+%s|[{;,]%s\s*=\s*function|var\s+%s\s*=\s*function)\s* |
|
|
|
(?:function\s+%s|[{;,]\s*%s\s*=\s*function|var\s+%s\s*=\s*function)\s* |
|
|
|
\((?P<args>[^)]*)\)\s* |
|
|
|
\{(?P<code>[^}]+)\}''' % ( |
|
|
|
re.escape(funcname), re.escape(funcname), re.escape(funcname)), |
|
|
|