diff --git a/template/Siri/loon.handlebars b/template/Siri/loon.handlebars index 8c719c9..bbe4e57 100644 --- a/template/Siri/loon.handlebars +++ b/template/Siri/loon.handlebars @@ -14,7 +14,7 @@ {{{arguments}}} [Script] -http-request ^https?:\/\/(api-siri|api2|api-.+)\.smoot\.apple\.com\/search script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/response.bundle.js, tag=⭕ Siri.Search.request , argument={{{scriptParams}}} +http-request ^https?:\/\/(api-siri|api2|api-.+)\.smoot\.apple\.com\/search script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js, tag=⭕ Siri.Search.request , argument={{{scriptParams}}} http-request ^https?:\/\/(guzzoni|api2|api-.+)\.smoot\.apple\.com\/apple\.parsec\.siri\.v2alpha\.SiriSearch\/SiriSearch requires-body=1, binary-body-mode=1, script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js, tag=⭕ Siri.SiriSearch.request, argument={{{scriptParams}}} http-request ^https?:\/\/api-safari(-.+)?\.smoot\.apple\.com\/apple\.parsec\.safari\.v1alpha\.SafariSearch\/SafariSearch requires-body=1, binary-body-mode=1, script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js, tag=🔍 Safari.SafariSearch.request, argument={{{scriptParams}}} http-request ^https?:\/\/api-lookup(-.+)?\.smoot\.apple\.com\/apple\.parsec\.lookup\.v1alpha\.LookupSearch\/LookupSearch requires-body=1, binary-body-mode=1, script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js, tag=🔍 Lookup.LookupSearch.request, argument={{{scriptParams}}} diff --git a/template/Siri/quantumultx.handlebars b/template/Siri/quantumultx.handlebars index ce56ec1..8de0b36 100644 --- a/template/Siri/quantumultx.handlebars +++ b/template/Siri/quantumultx.handlebars @@ -10,7 +10,7 @@ #[rewrite_local] ⭕ Siri.Search.request -^https?:\/\/(api-siri|api2|api-.+)\.smoot\.apple\.com\/search url script-request-header https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/response.bundle.js +^https?:\/\/(api-siri|api2|api-.+)\.smoot\.apple\.com\/search url script-request-header https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js ⭕ Siri.SiriSearch.request ^https?:\/\/(guzzoni|api2|api-.+)\.smoot\.apple\.com\/apple\.parsec\.siri\.v2alpha\.SiriSearch\/SiriSearch url script-request-body https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js 🔍 Safari.SafariSearch.request diff --git a/template/Siri/stash.handlebars b/template/Siri/stash.handlebars index a30d84f..8d26186 100644 --- a/template/Siri/stash.handlebars +++ b/template/Siri/stash.handlebars @@ -8,7 +8,7 @@ author: |- {{#each (@package 'contributors')}} {{this}} {{/each}} -homepage: "{{@package 'homepage'}}/siri +homepage: "{{@package 'homepage'}}/siri" icon: "{{@package 'icon'}}" category: "{{@package 'organizationName'}}" date: "{{now "yyyy-MM-dd HH:mm:ss"}}" @@ -21,52 +21,47 @@ http: - "api-*.smoot.apple.com" script: - match: ^https?:\/\/(api-siri|api2|api-.+)\.smoot\.apple\.com\/search - name: "Siri.request" + name: Siri.request type: request argument: - match: ^https?:\/\/(guzzoni|api2|api-.+)\.smoot\.apple\.com\/apple\.parsec\.siri\.v2alpha\.SiriSearch\/SiriSearch - name: "Siri.request" + name: Siri.request type: request require-body: true binary-mode: true argument: - match: ^https?:\/\/api-safari(-.+)?\.smoot\.apple\.com\/apple\.parsec\.safari\.v1alpha\.SafariSearch\/SafariSearch - name: "Siri.request" + name: Siri.request type: request require-body: true binary-mode: true argument: - match: ^https?:\/\/api-lookup(-.+)?\.smoot\.apple\.com\/apple\.parsec\.lookup\.v1alpha\.LookupSearch\/LookupSearch - name: "Siri.request" + name: Siri.request type: request require-body: true binary-mode: true argument: - match: ^https?:\/\/(api2|api-.+)\.smoot\.apple\.com\/apple\.parsec\.visualsearch\.v2\.VisualSearch\/VisualSearch - name: "Siri.request" + name: Siri.request type: request require-body: true binary-mode: true argument: - match: ^https?:\/\/(api-.+)\.smoot\.apple\.com\/apple\.parsec\.responseframework\.engagement\.v1alpha\.EngagementSearch\/EngagementSearch - name: "Siri.request" + name: Siri.request type: request require-body: true binary-mode: true argument: - match: ^https?:\/\/(api-.+)\.smoot\.apple\.com\/apple\.parsec\.spotlight\.v1alpha\.ZkwSuggestService\/Suggest - name: "Siri.request" + name: Siri.request type: request require-body: true binary-mode: true argument: script-providers: - "Siri.request": - url: https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/response.bundle.js - interval: 86400 - "Siri.response": + Siri.request: url: https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js interval: 86400 - - diff --git a/template/Siri/surge.handlebars b/template/Siri/surge.handlebars index 88bea22..8578b43 100644 --- a/template/Siri/surge.handlebars +++ b/template/Siri/surge.handlebars @@ -11,7 +11,7 @@ #!arguments-desc = {{{argumentsDesc}}} [Script] -⭕ Siri.Search.request = type=http-request, pattern=^https?:\/\/(api-siri|api2|api-.+)\.smoot\.apple\.com\/search, engine=webview, script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/response.bundle.js, argument={{{scriptParams}}} +⭕ Siri.Search.request = type=http-request, pattern=^https?:\/\/(api-siri|api2|api-.+)\.smoot\.apple\.com\/search, engine=webview, script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} ⭕ Siri.SiriSearch.request = type=http-request, pattern=^https?:\/\/(guzzoni|api2|api-.+)\.smoot\.apple\.com\/apple\.parsec\.siri\.v2alpha\.SiriSearch\/SiriSearch, requires-body=1, binary-body-mode=1, engine=webview, debug=1, script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 🔍 Safari.SafariSearch.request = type=http-request, pattern=^https?:\/\/api-safari(-.+)?\.smoot\.apple\.com\/apple\.parsec\.safari\.v1alpha\.SafariSearch\/SafariSearch, requires-body=1, binary-body-mode=1, engine=webview, debug=1, script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}} 🔍 Lookup.LookupSearch.request = type=http-request, pattern=^https?:\/\/api-lookup(-.+)?\.smoot\.apple\.com\/apple\.parsec\.lookup\.v1alpha\.LookupSearch\/LookupSearch, requires-body=1, binary-body-mode=1, engine=webview, debug=1, script-path=https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js, argument={{{scriptParams}}}