Skip to content

Commit

Permalink
test(modules): sgmodule arguments
Browse files Browse the repository at this point in the history
Update BiliBili.Global.beta.sgmodule
  • Loading branch information
VirgilClyne committed Jan 27, 2024
1 parent d0c517c commit 10ebd60
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions modules/BiliBili.Global.beta.sgmodule
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,31 @@
#!manual=https://manual.biliuniverse.io
#!icon=https://github.com/BiliUniverse/Global/raw/main/database/icon_rounded_108x.png
#!category=📺 BiliUniverse
#!arguments=Locales:"CHN,HKG,TWN",Proxies.CHN:DIRECT,Proxies.HKG:🇭🇰香港,Proxies.MAC:🇲🇴澳门,Proxies.TWN:🇹🇼台湾
#!arguments-desc=Locales: 启用自动识别和分类功能的地区\nProxies.CHN: [🇨🇳中国大陆]代理或策略组选择\nProxies.HKG: [🇭🇰中国香港]代理或策略组选择\nProxies.MAC: [🇲🇴中国澳门]代理或策略组选择\nProxies.TWN: [🇹🇼中国台湾]代理或策略组选择

[Script]
BiliBili.Global.bangumi.play.html = type=http-request, pattern=^https?:\/\/www\.bilibili\.com\/bangumi\/play\/(ss|ep)\d+\/?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, ability=http-client-policy, argument=
BiliBili.Global.bangumi.play.html = type=http-request, pattern=^https?:\/\/www\.bilibili\.com\/bangumi\/play\/(ss|ep)\d+\/?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, ability=http-client-policy, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}

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, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.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, timeout=15, max-size=262144, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.response.beta.js, argument=
BiliBili.Global.season.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.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, timeout=15, max-size=262144, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.response.beta.js, 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, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, ability=http-client-policy, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
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, timeout=15, max-size=262144, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.response.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
BiliBili.Global.season.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/view\/(v2\/app|web|pc)\/season\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, ability=http-client-policy, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
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, timeout=15, max-size=262144, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.response.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}

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, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.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, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=
BiliBili.Global.player.playurl.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/(api|web)\/playurl(\/html5)?\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.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\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, ability=http-client-policy, 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, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
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, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
BiliBili.Global.player.playurl.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/(api|web)\/playurl(\/html5)?\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, ability=http-client-policy, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
BiliBili.Global.player.v2.playurl.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/pgc\/player\/web\/v2\/playurl\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, ability=http-client-policy, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}

BiliBili.Global.search.html = type=http-request, pattern=^https?:\/\/search\.bilibili\.com\/all\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.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, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=
BiliBili.Global.search.app.json = type=http-request, pattern=^https?:\/\/app\.bili(bili\.com|api\.net)\/x\/v2\/search(\/type)?\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.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)\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.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)\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.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, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
BiliBili.Global.search.app.json = type=http-request, pattern=^https?:\/\/app\.bili(bili\.com|api\.net)\/x\/v2\/search(\/type)?\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
BiliBili.Global.search.wbi.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/web-interface\/wbi\/search\/(all\/v2|type)\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
BiliBili.Global.search.pc.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/web-interface\/search\/(all\/v2|type)\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}

BiliBili.Global.space.app.json = type=http-request, pattern=^https?:\/\/app\.bili(bili\.com|api\.net)\/x\/v2\/space\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=
BiliBili.Global.space.wbi.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/space\/wbi\/acc\/info\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=
BiliBili.Global.space.pc.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/space\/acc\/info\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=
BiliBili.Global.space.app.json = type=http-request, pattern=^https?:\/\/app\.bili(bili\.com|api\.net)\/x\/v2\/space\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
BiliBili.Global.space.wbi.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/space\/wbi\/acc\/info\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}
BiliBili.Global.space.pc.json = type=http-request, pattern=^https?:\/\/api\.bili(bili\.com|api\.net)\/x\/space\/acc\/info\?, requires-body=0, timeout=15, debug=1, script-path=https://raw.githubusercontent.com/BiliUniverse/Global/beta/js/BiliBili.Global.request.beta.js, argument=Locales="{{{Locales}}}"&Proxies.CHN={{{Proxies.CHN}}}&Proxies.HKG={{{Proxies.HKG}}}&Proxies.MAC={{{Proxies.MAC}}}&Proxies.TWN={{{Proxies.TWN}}}

[MITM]
hostname = %APPEND% www.bilibili.com, search.bilibili.com, app.bilibili.com, app.biliapi.net, api.bilibili.com, api.biliapi.net, grpc.biliapi.net
Expand Down

0 comments on commit 10ebd60

Please sign in to comment.