diff --git a/template/egern.handlebars b/template/egern.handlebars index 2bef19d..2822d54 100644 --- a/template/egern.handlebars +++ b/template/egern.handlebars @@ -15,7 +15,7 @@ scriptings: _compat.$argument: '' - http_request: name: 📺 BiliBili.Global.viewunite.v1.View.grpc - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$ + match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$ script_url: https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js arguments: _compat.$argument: '' @@ -23,7 +23,7 @@ scriptings: binary_body: true - http_response: name: 📺 BiliBili.Global.viewunite.v1.View.grpc - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$ + match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$ script_url: https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js arguments: _compat.$argument: '' @@ -44,7 +44,7 @@ scriptings: body_required: true - http_request: name: 📺 BiliBili.Global.playerunite.v1.Player.grpc - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$ + match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$ script_url: https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js arguments: _compat.$argument: '' @@ -52,7 +52,7 @@ scriptings: binary_body: true - http_request: name: 📺 BiliBili.Global.player.v2.PlayURL.grpc - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$ + match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$ script_url: https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js arguments: _compat.$argument: '' @@ -78,7 +78,7 @@ scriptings: _compat.$argument: ' - http_request: name: 📺 BiliBili.Global.search.grpc - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$ + match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$ script_url: https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js arguments: _compat.$argument: '' diff --git a/template/loon.handlebars b/template/loon.handlebars index b3df333..1a78445 100644 --- a/template/loon.handlebars +++ b/template/loon.handlebars @@ -16,18 +16,18 @@ [Script] http-request ^https?:\/\/www\.bilibili\.com\/bangumi\/play\/(ss|ep)\d+\/? requires-body=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.bangumi.play.html, argument={{{scriptParams}}} -http-request ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.viewunite.v1.View.grpc, argument={{{scriptParams}}} -http-response ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, tag=📺 BiliBili.Global.viewunite.v1.View.grpc, argument={{{scriptParams}}} +http-request ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.viewunite.v1.View.grpc, argument={{{scriptParams}}} +http-response ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, tag=📺 BiliBili.Global.viewunite.v1.View.grpc, argument={{{scriptParams}}} http-request ^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\? script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.season.json, argument={{{scriptParams}}} http-response ^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\? requires-body=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, tag=📺 BiliBili.Global.season.json, argument={{{scriptParams}}} -http-request ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.playerunite.v1.Player.grpc, argument={{{scriptParams}}} -http-request ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.player.v2.PlayURL.grpc, argument={{{scriptParams}}} +http-request ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.playerunite.v1.Player.grpc, argument={{{scriptParams}}} +http-request ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.player.v2.PlayURL.grpc, argument={{{scriptParams}}} http-request ^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/(api|web)\/playurl(\/html5)?\? script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.player.playurl.json, argument={{{scriptParams}}} http-request ^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/web\/v2\/playurl\? script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.player.v2.playurl.json, argument={{{scriptParams}}} http-request ^https?:\/\/search\.bilibili\.com\/all\? script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.search.html, argument={{{scriptParams}}} -http-request ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.search.grpc, argument={{{scriptParams}}} +http-request ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$ requires-body=1, binary-body-mode=1, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.search.grpc, argument={{{scriptParams}}} http-request ^https?:\/\/app\.bili(bili\.com|api\.net)\/x\/v2\/search(\/type)?\? script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.search.app.json, argument={{{scriptParams}}} http-request ^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/web-interface\/wbi\/search\/(all\/v2|type)\? script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.search.wbi.json, argument={{{scriptParams}}} http-request ^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/web-interface\/search\/(all\/v2|type)\? script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, tag=📺 BiliBili.Global.search.pc.json, argument={{{scriptParams}}} diff --git a/template/quantumultx.handlebars b/template/quantumultx.handlebars index 2217a00..2e0d132 100644 --- a/template/quantumultx.handlebars +++ b/template/quantumultx.handlebars @@ -13,16 +13,16 @@ ^https?:\/\/www\.bilibili\.com\/bangumi\/play\/(ss|ep)\d+\/? url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js # 📺 BiliBili.Global.viewunite.v1.View.grpc -^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$ url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js -^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$ url script-response-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js +^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$ url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js +^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$ url script-response-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js # 📺 BiliBili.Global.season.json ^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\? url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js ^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\? url script-response-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js # 📺 BiliBili.Global.playerunite.v1.Player.grpc -^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$ url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js +^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$ url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js # 📺 BiliBili.Global.player.v2.PlayURL.grpc -^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$ url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js +^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$ url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js # 📺 BiliBili.Global.player.playurl.json ^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/(api|web)\/playurl(\/html5)?\? url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js # 📺 BiliBili.Global.player.v2.playurl.json @@ -31,7 +31,7 @@ # 📺 BiliBili.Global.search.html ^https?:\/\/search\.bilibili\.com\/all\? url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js # 📺 BiliBili.Global.search.grpc -^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$ url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js +^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$ url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js # 📺 BiliBili.Global.search.app.json ^https?:\/\/app\.bili(bili\.com|api\.net)\/x\/v2\/search(\/type)?\? url script-request-body https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js # 📺 BiliBili.Global.search.wbi.json diff --git a/template/shadowrocket.handlebars b/template/shadowrocket.handlebars index ea90cb3..e371ad4 100644 --- a/template/shadowrocket.handlebars +++ b/template/shadowrocket.handlebars @@ -11,18 +11,18 @@ [Script] 📺 BiliBili.Global.bangumi.play.html = type=http-request, pattern=^https?:\/\/www\.bilibili\.com\/bangumi\/play\/(ss|ep)\d+\/?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, ability=http-client-policy, argument= -📺 BiliBili.Global.viewunite.v1.View.grpc = type=http-request, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, ability=http-client-policy, argument= -📺 BiliBili.Global.viewunite.v1.View.grpc = type=http-response, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$, requires-body=1, binary-body-mode=1, engine=webview, max-size=262144, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, argument= +📺 BiliBili.Global.viewunite.v1.View.grpc = type=http-request, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, ability=http-client-policy, argument= +📺 BiliBili.Global.viewunite.v1.View.grpc = type=http-response, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$, requires-body=1, binary-body-mode=1, engine=webview, max-size=262144, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, argument= 📺 BiliBili.Global.season.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, ability=http-client-policy, argument= 📺 BiliBili.Global.season.json = type=http-response, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\?, requires-body=1, engine=webview, max-size=262144, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, argument= -📺 BiliBili.Global.playerunite.v1.Player.grpc = type=http-request, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= -📺 BiliBili.Global.player.v2.PlayURL.grpc = type=http-request, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= +📺 BiliBili.Global.playerunite.v1.Player.grpc = type=http-request, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= +📺 BiliBili.Global.player.v2.PlayURL.grpc = type=http-request, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= 📺 BiliBili.Global.player.playurl.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/(api|web)\/playurl(\/html5)?\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, ability=http-client-policy, argument= 📺 BiliBili.Global.player.v2.playurl.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/web\/v2\/playurl\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, ability=http-client-policy, argument= 📺 BiliBili.Global.search.html = type=http-request, pattern=^https?:\/\/search\.bilibili\.com\/all\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= -📺 BiliBili.Global.search.grpc = type=http-request, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= +📺 BiliBili.Global.search.grpc = type=http-request, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= 📺 BiliBili.Global.search.app.json = type=http-request, pattern=^https?:\/\/app\.bili(bili\.com|api\.net)\/x\/v2\/search(\/type)?\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= 📺 BiliBili.Global.search.wbi.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/web-interface\/wbi\/search\/(all\/v2|type)\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= 📺 BiliBili.Global.search.pc.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/web-interface\/search\/(all\/v2|type)\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument= diff --git a/template/stash.handlebars b/template/stash.handlebars index 52db3ae..5ca2c73 100644 --- a/template/stash.handlebars +++ b/template/stash.handlebars @@ -29,12 +29,12 @@ http: type: request timeout: 15 argument: - - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$ + - match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$ name: 📺 BiliBili.Global.request type: request binary-mode: true argument: - - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$ + - match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$ name: 📺 BiliBili.Global.response type: response require-body: true @@ -51,13 +51,13 @@ http: require-body: true max-size: 262144 argument: - - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$ + - match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$ name: 📺 BiliBili.Global.request type: request require-body: true binary-mode: true argument: - - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$ + - match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$ name: 📺 BiliBili.Global.request type: request require-body: true @@ -72,7 +72,7 @@ http: name: 📺 BiliBili.Global.request type: request argument: - - match: ^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$ + - match: ^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$ name: 📺 BiliBili.Global.request type: request require-body: true diff --git a/template/surge.handlebars b/template/surge.handlebars index af13b40..c3c856b 100644 --- a/template/surge.handlebars +++ b/template/surge.handlebars @@ -13,18 +13,18 @@ [Script] 📺 BiliBili.Global.bangumi.play.html = type=http-request, pattern=^https?:\/\/www\.bilibili\.com\/bangumi\/play\/(ss|ep)\d+\/?, engine=webview, ability=http-client-policy, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} -📺 BiliBili.Global.viewunite.v1.View.grpc = type=http-request, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$, requires-body=1, binary-body-mode=1, engine=webview, ability=http-client-policy, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} -📺 BiliBili.Global.viewunite.v1.View.grpc = type=http-response, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.viewunite\.v1\.View\/View$, requires-body=1, binary-body-mode=1, engine=webview, max-size=262144, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, argument={{{scriptParams}}} +📺 BiliBili.Global.viewunite.v1.View.grpc = type=http-request, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$, requires-body=1, binary-body-mode=1, engine=webview, ability=http-client-policy, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} +📺 BiliBili.Global.viewunite.v1.View.grpc = type=http-response, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.viewunite\.v1\.View\/View$, requires-body=1, binary-body-mode=1, engine=webview, max-size=262144, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, argument={{{scriptParams}}} 📺 BiliBili.Global.season.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\?, engine=webview, ability=http-client-policy, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 📺 BiliBili.Global.season.json = type=http-response, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\?, requires-body=1, engine=webview, max-size=262144, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/response.bundle.js, argument={{{scriptParams}}} -📺 BiliBili.Global.playerunite.v1.Player.grpc = type=http-request, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} -📺 BiliBili.Global.player.v2.PlayURL.grpc = type=http-request, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} +📺 BiliBili.Global.playerunite.v1.Player.grpc = type=http-request, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.app\.playerunite\.v1\.Player\/PlayViewUnite$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} +📺 BiliBili.Global.player.v2.PlayURL.grpc = type=http-request, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.pgc\.gateway\.player\.v2\.PlayURL\/PlayView$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 📺 BiliBili.Global.player.playurl.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/(api|web)\/playurl(\/html5)?\?, engine=webview, ability=http-client-policy, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 📺 BiliBili.Global.player.v2.playurl.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/web\/v2\/playurl\?, engine=webview, ability=http-client-policy, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 📺 BiliBili.Global.search.html = type=http-request, pattern=^https?:\/\/search\.bilibili\.com\/all\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} -📺 BiliBili.Global.search.grpc = type=http-request, pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} +📺 BiliBili.Global.search.grpc = type=http-request, pattern=^https?:\/\/(grpc|app)\.bili(bili\.com|api\.net)\/bilibili\.polymer\.app\.search\.v1\.Search\/(SearchAll|SearchByType)$, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 📺 BiliBili.Global.search.app.json = type=http-request, pattern=^https?:\/\/app\.bili(bili\.com|api\.net)\/x\/v2\/search(\/type)?\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 📺 BiliBili.Global.search.wbi.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/web-interface\/wbi\/search\/(all\/v2|type)\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 📺 BiliBili.Global.search.pc.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/web-interface\/search\/(all\/v2|type)\?, engine=webview, script-path=https://github.com/BiliUniverse/Global/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}}