diff --git a/Quantumult/Rewrite/General.conf b/Quantumult/Rewrite/General.conf index 04592d4..c6eea64 100644 --- a/Quantumult/Rewrite/General.conf +++ b/Quantumult/Rewrite/General.conf @@ -75,7 +75,7 @@ hostname = www.google.cn,www.firefox.com.cn,api.abema.io,app.biliintl.com,passpo ^https?:\/\/api\.abema\.io\/v\d\/ip\/check url reject-200 # 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?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d\/(fav|msgfeed)).+?)(&s_locale=zh-Hans_[A-Z]{2})(.+?)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$6&sim_code=51503$8 ^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})(.+)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$35&sim_code=51503$5 diff --git a/Surge/Module/General.sgmodule b/Surge/Module/General.sgmodule index e2a78ad..3e48b23 100644 --- a/Surge/Module/General.sgmodule +++ b/Surge/Module/General.sgmodule @@ -98,7 +98,7 @@ 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|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?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d\/(fav|msgfeed)).+?)(&s_locale=zh-Hans_[A-Z]{2})(.+?)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$6&sim_code=51503$8 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