mirror of https://github.com/KingRan/KR.git
parent
e82743836b
commit
9d1e518c3c
|
@ -85,7 +85,7 @@ def randomuserAgent():
|
|||
return UserAgent
|
||||
|
||||
def JDSignValidator(url):
|
||||
with open('JDSignValidator.js', 'r', encoding='utf-8') as f:
|
||||
with open('JDJRSignValidator.js', 'r', encoding='utf-8') as f:
|
||||
jstext = f.read()
|
||||
js = execjs.compile(jstext)
|
||||
result = js.call('getBody', url)
|
||||
|
|
|
@ -28,7 +28,7 @@ if not ipport:
|
|||
ipport = "localhost:5700"
|
||||
else:
|
||||
ipport = ipport.lstrip("http://").rstrip("/")
|
||||
sub_str = os.getenv("RES_SUB", "KingRan_JDJB")
|
||||
sub_str = os.getenv("RES_SUB", "KingRan_KR")
|
||||
sub_list = sub_str.split("&")
|
||||
res_only = os.getenv("RES_ONLY", True)
|
||||
headers = {
|
||||
|
|
Loading…
Reference in New Issue