mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
xthor: move input parms to path. resolves #13220
This commit is contained in:
@@ -113,13 +113,7 @@ settings:
|
|||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://api.xthor.tk/?passkey=<redacted>&search=&category=&freeleech=&tmdbid=&size=&accent=&price=&page=
|
# https://api.xthor.tk/?passkey=<redacted>&search=&category=&freeleech=&tmdbid=&size=&accent=&price=&page=
|
||||||
- path: "https://api.xthor.tk/"
|
- path: "https://api.xthor.tk/?passkey={{ .Config.passkey }}&search={{ if .Query.TMDBID }}{{ else }}{{ .Keywords }}{{ end }}{{ if .Config.freeleech }}&freeleech=1{{ else }}{{ end }}&tmdbid={{ .Query.TMDBID }}&category={{ if .Categories }}{{ range .Categories }}{{.}}+{{end}}{{ else }}{{ end }}"
|
||||||
inputs:
|
|
||||||
passkey: "{{ .Config.passkey }}"
|
|
||||||
category: "{{ if .Categories }}{{ range .Categories }}{{.}}+{{end}}{{ else }}{{ end }}"
|
|
||||||
search: "{{ if .Query.TMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
|
||||||
tmdbid: "{{ .Query.TMDBID }}"
|
|
||||||
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
|
||||||
response:
|
response:
|
||||||
type: json
|
type: json
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user