KingRan 2022-02-14 15:14:20 +08:00
parent e82743836b
commit 9d1e518c3c
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 = {