diff --git a/Quantumult/Rewrite/General.conf b/Quantumult/Rewrite/General.conf index 5d2a1d0..e4fecd7 100644 --- a/Quantumult/Rewrite/General.conf +++ b/Quantumult/Rewrite/General.conf @@ -67,11 +67,7 @@ hostname = www.google.cn,api.abema.io,app.biliintl.com,passport.biliintl.com ^https?:\/\/api\.abema\.io\/v\d\/ip\/check url reject-200 # bilibili Intl -(^https?:\/\/app\.biliintl\.com\/intl\/gateway\/v\d/(app|ogv)\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$4&sim_code=51503$6 - -(^https?:\/\/app\.biliintl\.com\/x\/(reply\/|dm\/v\d\/).+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$4&sim_code=51503$6 - -(^https?:\/\/app\.biliintl\.com\/x\/intl_vip\/price\/panel\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$3&sim_code=51503$5 +(^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply).+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$5&sim_code=51503$7 ^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/(sms\/send|reg\/sms|oauth2\/access_token|login\/sms) url script-request-body https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Rewrite/bstar.js (^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+) url 302 $1&s_locale=zh-Hans_PH$3 diff --git a/Surge/Module/General.sgmodule b/Surge/Module/General.sgmodule index 563b28c..54ae78d 100644 --- a/Surge/Module/General.sgmodule +++ b/Surge/Module/General.sgmodule @@ -91,10 +91,8 @@ tun-excluded-routes = %APPEND% 239.255.255.250/32 ^https?:\/\/api\.abema\.io\/v\d\/ip\/check - reject # bstar intl -(^https?:\/\/app\.biliintl\.com\/intl\/gateway\/v\d/(app|ogv)\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$4&sim_code=51503$6 302 -(^https?:\/\/app\.biliintl\.com\/x\/(reply\/|dm\/v\d\/).+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$4&sim_code=51503$6 302 +(^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply).+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$5&sim_code=51503$7 302 (^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+) $1&s_locale=zh-Hans_PH$3 302 -(^https?:\/\/app\.biliintl\.com\/x\/intl_vip\/price\/panel\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$3&sim_code=51503$5 302 # AICoin ^http:\/\/(www.)?aicoin\.cn\/$ https://www.aicoin.cn/?long_lives_aicoin=%22live%22 302