From b825a82b2574f8643585f3deaca3a327fb4107e1 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Wed, 21 Jul 2021 17:06:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9=20bstar=20intl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/General.conf | 2 ++ Surge/Module/General.sgmodule | 1 + 2 files changed, 3 insertions(+) diff --git a/Quantumult/Rewrite/General.conf b/Quantumult/Rewrite/General.conf index 2694233..df665a9 100644 --- a/Quantumult/Rewrite/General.conf +++ b/Quantumult/Rewrite/General.conf @@ -71,6 +71,8 @@ hostname = www.google.cn,api.abema.io,app.biliintl.com,passport.biliintl.com (^https?:\/\/app\.biliintl\.com\/x\/(reply\/|dm\/v\d\/view).+)(&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?:\/\/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 f3ae4e1..4d878d4 100644 --- a/Surge/Module/General.sgmodule +++ b/Surge/Module/General.sgmodule @@ -94,6 +94,7 @@ tun-excluded-routes = %APPEND% 239.255.255.250/32 (^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\/view).+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$4&sim_code=51503$6 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