diff --git a/js/Mine/aDriveCheckIn/aDriveCheckIn_token.plugin b/js/Mine/aDriveCheckIn/aDriveCheckIn_token.plugin index b1a3efc67..e262dac91 100644 --- a/js/Mine/aDriveCheckIn/aDriveCheckIn_token.plugin +++ b/js/Mine/aDriveCheckIn/aDriveCheckIn_token.plugin @@ -6,7 +6,7 @@ #!icon=https://raw.githubusercontent.com/Softlyx/Fileball/main/YUAN/ALiYun.png [Script] -http-request ^https:\/\/auth\.aliyundrive\.com\/v2\/account\/token script-path=https://raw.githubusercontent.com/zqzess/rule_for_quantumultX/master/js/Mine/aDriveCheckIn/aDriveCheckIn.js, requires-body=true, timeout=10, enabled=true, tag=阿里网盘token获取 +http-request ^https:\/\/(auth|aliyundrive)\.alipan\.com\/v2\/account\/token script-path=https://raw.githubusercontent.com/zqzess/rule_for_quantumultX/master/js/Mine/aDriveCheckIn/aDriveCheckIn.js, requires-body=true, timeout=10, enabled=true, tag=阿里网盘token获取 [MITM] -hostname = auth.aliyundrive.com +hostname = auth.alipan.com, auth.aliyundrive.com diff --git a/js/Mine/aDriveCheckIn/aDriveCheckIn_token.qxrewrite b/js/Mine/aDriveCheckIn/aDriveCheckIn_token.qxrewrite index f1583b2fa..8eeda171f 100644 --- a/js/Mine/aDriveCheckIn/aDriveCheckIn_token.qxrewrite +++ b/js/Mine/aDriveCheckIn/aDriveCheckIn_token.qxrewrite @@ -1,4 +1,4 @@ # 阿里云盘token获取 @zqzess -hostname = auth.aliyundrive.com +hostname = auth.alipan.com, auth.aliyundrive.com -^https:\/\/auth\.aliyundrive\.com\/v2\/account\/token url script-request-body https://raw.githubusercontent.com/zqzess/rule_for_quantumultX/master/js/Mine/aDriveCheckIn/aDriveCheckIn.js \ No newline at end of file +^https:\/\/(auth|aliyundrive)\.alipan\.com\/v2\/account\/token url script-request-body https://raw.githubusercontent.com/zqzess/rule_for_quantumultX/master/js/Mine/aDriveCheckIn/aDriveCheckIn.js \ No newline at end of file diff --git a/js/Mine/aDriveCheckIn/aDriveCheckIn_token.sgmodule b/js/Mine/aDriveCheckIn/aDriveCheckIn_token.sgmodule index e0ec45227..b49694bfe 100644 --- a/js/Mine/aDriveCheckIn/aDriveCheckIn_token.sgmodule +++ b/js/Mine/aDriveCheckIn/aDriveCheckIn_token.sgmodule @@ -2,7 +2,7 @@ #!desc=阿里网盘签到token获取 [Script] -阿里网盘token获取 = type=http-request,pattern=^https:\/\/auth\.aliyundrive\.com\/v2\/account\/token,requires-body=1,script-path=https://raw.githubusercontent.com/zqzess/rule_for_quantumultX/master/js/Mine/aDriveCheckIn/aDriveCheckIn.js +阿里网盘token获取 = type=http-request,pattern=^https:\/\/(auth|aliyundrive)\.alipan\.com\/v2\/account\/token,requires-body=1,script-path=https://raw.githubusercontent.com/zqzess/rule_for_quantumultX/master/js/Mine/aDriveCheckIn/aDriveCheckIn.js [MITM] -hostname = %APPEND% auth.aliyundrive.com \ No newline at end of file +hostname = %APPEND% auth.alipan.com, auth.aliyundrive.com \ No newline at end of file diff --git a/js/Mine/aDriveCheckIn/aDriveCheckIn_token.stoverride b/js/Mine/aDriveCheckIn/aDriveCheckIn_token.stoverride index 992e466bc..d309ecdca 100644 --- a/js/Mine/aDriveCheckIn/aDriveCheckIn_token.stoverride +++ b/js/Mine/aDriveCheckIn/aDriveCheckIn_token.stoverride @@ -3,7 +3,7 @@ desc: 打开阿里网盘,等待token获取通知,如果没有token获取通 http: script: - - match: ^https:\/\/auth\.aliyundrive\.com\/v2\/account\/token + - match: ^https:\/\/(auth|aliyundrive)\.alipan\.com\/v2\/account\/token name: aDriveCheckIn_cookie type: request # request / response require-body: true @@ -12,6 +12,7 @@ http: binary-mode: false max-size: 2097152 # 2MB mitm: + - "auth.alipan.com" - "auth.aliyundrive.com" script-providers: