diff --git a/CHANGELOG.md b/CHANGELOG.md index 29b83e0..7d7ec08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ ### ๐Ÿ› ๏ธ Bug Fixes - * ไฟฎๅค`ๆ’ญๆ”พ้กต`็š„`ๆ’ญๆ”พ็ช—ๅฃ`่ขซๅœฐๅŒบ้™ๅˆถๆ็คบ่ฆ†็›–็š„้—ฎ้ข˜ + * ไฟฎๅค`ๆจกๅ—/ๆ’ไปถ/้‡ๅ†™/่ฆ†ๅ†™`็š„`URLๆญฃๅˆ™่กจ่พพๅผ`ไปฅๅŒน้…ๆ–ฐ API ๅŸŸๅ diff --git a/package.json b/package.json index 22f4eaa..fbea8e0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@biliuniverse/global", - "version": "0.8.5", + "version": "0.8.6", "organizationName": "๐Ÿช BiliUniverse", "displayName": "๐Ÿ“บ BiliBili: ๐ŸŒ Global", "description": "ๅ“”ๅ“ฉๅ“”ๅ“ฉ๏ผšๅ…จ็ƒๆจกๅผ\nไธญๅ›ฝ็ซ™่‡ชๅŠจ็บฟ่ทฏๅŠๅ…จๅŒบๆœ็ดข", 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}}}