mirror of https://github.com/Jackett/Jackett
Revert "xthor: move input parms to path. resolves #13220"
This reverts commit 8fc965a5c1
.
This commit is contained in:
parent
e1da56160e
commit
46fbd9ed1c
|
@ -113,7 +113,13 @@ settings:
|
|||
search:
|
||||
paths:
|
||||
# https://api.xthor.tk/?passkey=<redacted>&search=&category=&freeleech=&tmdbid=&size=&accent=&price=&page=
|
||||
- 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 }}"
|
||||
- path: "https://api.xthor.tk/"
|
||||
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:
|
||||
type: json
|
||||
|
||||
|
|
Loading…
Reference in New Issue