mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-10 10:49:45 +00:00
Update to ytdl-commit-07af47
[YouTube] Improve fix for ae8ba2c
07af47960f
This commit is contained in:
@@ -812,9 +812,9 @@ class JSInterpreter:
|
||||
\((?P<args>[^)]*)\)\s*
|
||||
(?P<code>{.+})''' % {'name': re.escape(funcname)},
|
||||
self.code)
|
||||
code, _ = self._separate_at_paren(func_m.group('code'))
|
||||
if func_m is None:
|
||||
raise self.Exception(f'Could not find JS function "{funcname}"')
|
||||
code, _ = self._separate_at_paren(func_m.group('code'))
|
||||
return [x.strip() for x in func_m.group('args').split(',')], code
|
||||
|
||||
def extract_function(self, funcname):
|
||||
|
Reference in New Issue
Block a user