diff --git a/module/bilibili-qx.conf b/module/bilibili-qx.conf index 8e6b37c..67ef1e5 100644 --- a/module/bilibili-qx.conf +++ b/module/bilibili-qx.conf @@ -1,6 +1,6 @@ # bilibili去广告8.13(>=iOS15) # 仓库地址 https://github.com/app2smile/rules # 开屏页广告,推荐页广告,动态(最常访问/推荐话题/列表广告),视频播放页面(up主推荐广告) -hostname = app.bilibili.com, grpc.biliapi.net -^https:\/\/app\.bilibili\.com\/x\/(v2\/(splash\/(list|show)|feed\/index\?)|resource\/show\/tab\/v2) url script-response-body https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-json.js +hostname = app.bilibili.com, app.biliapi.net, grpc.biliapi.net +^https:\/\/(app\.bilibili\.com|app\.biliapi\.net)\/x\/(v2\/(splash\/(list|show)|feed\/index\?)|resource\/show\/tab\/v2) url script-response-body https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-json.js ^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.(viewunite\.v1\.View\/View|dynamic\.v2\.Dynamic\/DynAll)$ url script-response-body https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-proto.js diff --git a/module/bilibili.sgmodule b/module/bilibili.sgmodule index 68c666a..c63d7e2 100644 --- a/module/bilibili.sgmodule +++ b/module/bilibili.sgmodule @@ -1,11 +1,11 @@ #!name=bilibili去广告8.13(>=iOS15) #!desc=开屏页广告,推荐页广告,动态(最常访问/推荐话题/列表广告),视频播放页面(up主推荐广告) # 仓库地址 https://github.com/app2smile/rules -# h2下走grpc.biliapi.net(Surge TF2332以上版本可正常解析) h1时走app.bilibili.com +# h2下走grpc.biliapi.net(Surge TF2332以上版本可正常解析) h1时走app.bilibili.com和app.biliapi.net [MITM] -hostname = %APPEND% app.bilibili.com, grpc.biliapi.net +hostname = %APPEND% app.bilibili.com, app.biliapi.net, grpc.biliapi.net [Script] -bili-json = type=http-response,pattern=^https:\/\/app\.bilibili\.com\/x\/(v2\/(splash\/(list|show)|feed\/index\?)|resource\/show\/tab\/v2),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-json.js,script-update-interval=0 +bili-json = type=http-response,pattern=^https:\/\/(app\.bilibili\.com|app\.biliapi\.net)\/x\/(v2\/(splash\/(list|show)|feed\/index\?)|resource\/show\/tab\/v2),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-json.js,script-update-interval=0 bili-proto = type=http-response,pattern=^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.(viewunite\.v1\.View\/View|dynamic\.v2\.Dynamic\/DynAll)$,requires-body=1,binary-body-mode=1,max-size=0,script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-proto.js,script-update-interval=0 diff --git a/plugin/bilibili.plugin b/plugin/bilibili.plugin index 9235c42..0fd56eb 100644 --- a/plugin/bilibili.plugin +++ b/plugin/bilibili.plugin @@ -3,8 +3,8 @@ #!openUrl=https://github.com/app2smile/rules [Mitm] -hostname = app.bilibili.com, grpc.biliapi.net +hostname = app.bilibili.com, app.biliapi.net, grpc.biliapi.net [Script] -http-response ^https:\/\/app\.bilibili\.com\/x\/(v2\/(splash\/(list|show)|feed\/index\?)|resource\/show\/tab\/v2) script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-json.js, requires-body=true, timeout=10, tag=bili-json +http-response ^https:\/\/(app\.bilibili\.com|app\.biliapi\.net)\/x\/(v2\/(splash\/(list|show)|feed\/index\?)|resource\/show\/tab\/v2) script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-json.js, requires-body=true, timeout=10, tag=bili-json http-response ^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.(view\.v1\.View\/View|dynamic\.v2\.Dynamic\/DynAll|playurl\.v1\.PlayURL\/PlayView)$ script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-proto.js, requires-body=true, binary-body-mode=true, timeout=10, tag=bili-proto