mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-19 14:38:53 +00:00
rename
This commit is contained in:
@@ -9,7 +9,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
import math
|
||||
|
||||
from yt_dlp.jsinterp.jsinterp import JS_Undefined, JSInterpreter
|
||||
from yt_dlp.jsinterp.native import JS_Undefined, JSInterpreter
|
||||
|
||||
|
||||
class NaN:
|
||||
|
||||
@@ -15,7 +15,7 @@ import urllib.request
|
||||
|
||||
from test.helper import FakeYDL, is_download_test
|
||||
from yt_dlp.extractor import YoutubeIE
|
||||
from yt_dlp.jsinterp import JSInterpreter
|
||||
from yt_dlp.jsinterp import NativeJSI
|
||||
|
||||
_SIG_TESTS = [
|
||||
(
|
||||
@@ -243,7 +243,7 @@ def signature(jscode, sig_input):
|
||||
|
||||
def n_sig(jscode, sig_input):
|
||||
funcname = YoutubeIE(FakeYDL())._extract_n_function_name(jscode)
|
||||
return JSInterpreter(jscode).call_function(funcname, sig_input)
|
||||
return NativeJSI(jscode).call_function(funcname, sig_input)
|
||||
|
||||
|
||||
make_sig_test = t_factory(
|
||||
|
||||
Reference in New Issue
Block a user