From 8fc965a5c1479abba789391b02a7f839ff272fe4 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 2 May 2022 16:19:09 +1200 Subject: [PATCH] xthor: move input parms to path. resolves #13220 --- src/Jackett.Common/Definitions/xthor-api.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Jackett.Common/Definitions/xthor-api.yml b/src/Jackett.Common/Definitions/xthor-api.yml index de1717c73..3bafea602 100644 --- a/src/Jackett.Common/Definitions/xthor-api.yml +++ b/src/Jackett.Common/Definitions/xthor-api.yml @@ -113,13 +113,7 @@ settings: search: paths: # https://api.xthor.tk/?passkey=&search=&category=&freeleech=&tmdbid=&size=&accent=&price=&page= - - 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 }}" + - 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 }}" response: type: json