Skip to content

Commit 0b69e61

Browse files
committed
fix: template
Update stash.handlebars
1 parent 9241b22 commit 0b69e61

File tree

4 files changed

+12
-17
lines changed

4 files changed

+12
-17
lines changed

template/Siri/loon.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{{{arguments}}}
1515

1616
[Script]
17-
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}}}
17+
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}}}
1818
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}}}
1919
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}}}
2020
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}}}

template/Siri/quantumultx.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#[rewrite_local]
1212
⭕ Siri.Search.request
13-
^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
13+
^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
1414
⭕ Siri.SiriSearch.request
1515
^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
1616
🔍 Safari.SafariSearch.request

template/Siri/stash.handlebars

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: |-
88
{{#each (@package 'contributors')}}
99
{{this}}
1010
{{/each}}
11-
homepage: "{{@package 'homepage'}}/siri
11+
homepage: "{{@package 'homepage'}}/siri"
1212
icon: "{{@package 'icon'}}"
1313
category: "{{@package 'organizationName'}}"
1414
date: "{{now "yyyy-MM-dd HH:mm:ss"}}"
@@ -21,52 +21,47 @@ http:
2121
- "api-*.smoot.apple.com"
2222
script:
2323
- match: ^https?:\/\/(api-siri|api2|api-.+)\.smoot\.apple\.com\/search
24-
name: "Siri.request"
24+
name: Siri.request
2525
type: request
2626
argument:
2727
- match: ^https?:\/\/(guzzoni|api2|api-.+)\.smoot\.apple\.com\/apple\.parsec\.siri\.v2alpha\.SiriSearch\/SiriSearch
28-
name: "Siri.request"
28+
name: Siri.request
2929
type: request
3030
require-body: true
3131
binary-mode: true
3232
argument:
3333
- match: ^https?:\/\/api-safari(-.+)?\.smoot\.apple\.com\/apple\.parsec\.safari\.v1alpha\.SafariSearch\/SafariSearch
34-
name: "Siri.request"
34+
name: Siri.request
3535
type: request
3636
require-body: true
3737
binary-mode: true
3838
argument:
3939
- match: ^https?:\/\/api-lookup(-.+)?\.smoot\.apple\.com\/apple\.parsec\.lookup\.v1alpha\.LookupSearch\/LookupSearch
40-
name: "Siri.request"
40+
name: Siri.request
4141
type: request
4242
require-body: true
4343
binary-mode: true
4444
argument:
4545
- match: ^https?:\/\/(api2|api-.+)\.smoot\.apple\.com\/apple\.parsec\.visualsearch\.v2\.VisualSearch\/VisualSearch
46-
name: "Siri.request"
46+
name: Siri.request
4747
type: request
4848
require-body: true
4949
binary-mode: true
5050
argument:
5151
- match: ^https?:\/\/(api-.+)\.smoot\.apple\.com\/apple\.parsec\.responseframework\.engagement\.v1alpha\.EngagementSearch\/EngagementSearch
52-
name: "Siri.request"
52+
name: Siri.request
5353
type: request
5454
require-body: true
5555
binary-mode: true
5656
argument:
5757
- match: ^https?:\/\/(api-.+)\.smoot\.apple\.com\/apple\.parsec\.spotlight\.v1alpha\.ZkwSuggestService\/Suggest
58-
name: "Siri.request"
58+
name: Siri.request
5959
type: request
6060
require-body: true
6161
binary-mode: true
6262
argument:
6363

6464
script-providers:
65-
"Siri.request":
66-
url: https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/response.bundle.js
67-
interval: 86400
68-
"Siri.response":
65+
Siri.request:
6966
url: https://github.com/NSRingo/Siri/releases/download/v{{@package 'version'}}/request.bundle.js
7067
interval: 86400
71-
72-

template/Siri/surge.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#!arguments-desc = {{{argumentsDesc}}}
1212

1313
[Script]
14-
⭕ 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}}}
14+
⭕ 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}}}
1515
⭕ 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}}}
1616
🔍 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}}}
1717
🔍 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}}}

0 commit comments

Comments
 (0)