diff --git a/Quantumult/Rewrite/General.conf b/Quantumult/Rewrite/General.conf index e4fecd7..9262070 100644 --- a/Quantumult/Rewrite/General.conf +++ b/Quantumult/Rewrite/General.conf @@ -66,11 +66,11 @@ hostname = www.google.cn,api.abema.io,app.biliintl.com,passport.biliintl.com # AbeamTV ^https?:\/\/api\.abema\.io\/v\d\/ip\/check url reject-200 -# bilibili Intl -(^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 +# bstar intl +(^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d/msgfeed).+)(&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 +(^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$35&sim_code=51503$5 ^https?:\/\/app\.biliintl\.com\/(intl\/gateway\/v\d\/app\/data\/report\/heartbeat\/mobile|x\/(history|reply)/v\d/add) url script-request-body https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Rewrite/bstar.js diff --git a/Surge/Module/General.sgmodule b/Surge/Module/General.sgmodule index 67c2fd0..b00a744 100644 --- a/Surge/Module/General.sgmodule +++ b/Surge/Module/General.sgmodule @@ -91,8 +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\/(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 header -(^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+) $1&s_locale=zh-Hans_PH$3 header +(^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d/msgfeed).+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$5&sim_code=51503$7 header +(^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$35&sim_code=51503$5 header # AICoin ^http:\/\/(www.)?aicoin\.cn\/$ https://www.aicoin.cn/?long_lives_aicoin=%22live%22 302