From 99300a11490fcf49c5505b42ffe6ccb1243dc59e Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Thu, 15 Dec 2022 06:51:35 +1300 Subject: [PATCH] skipthecommercials: upgrade to 6.5.0 upgrade freeleech search to prevent server error 500 --- src/Jackett.Common/Definitions/skipthecommercials-api.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/skipthecommercials-api.yml b/src/Jackett.Common/Definitions/skipthecommercials-api.yml index 2f81d2ca9..8930b547d 100644 --- a/src/Jackett.Common/Definitions/skipthecommercials-api.yml +++ b/src/Jackett.Common/Definitions/skipthecommercials-api.yml @@ -68,7 +68,7 @@ search: # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 api_token: "{{ .Config.apikey }}" name: "{{ .Keywords }}" - $raw: "{{ if .Query.Season }}&seasonNumber={{ .Query.Season }}{{ else }}{{ end }}{{ if .Query.Ep }}&episodeNumber={{ .Query.Ep }}{{ else }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}" + $raw: "{{ if .Query.Season }}&seasonNumber={{ .Query.Season }}{{ else }}{{ end }}{{ if .Query.Ep }}&episodeNumber={{ .Query.Ep }}{{ else }}{{ end }}{{ if .Query.TMDBID }}&tmdbId={{ .Query.TMDBID }}{{ else }}{{ end }}{{ if .Query.IMDBIDShort }}&imdbId={{ .Query.IMDBIDShort }}{{ else }}{{ end }}{{ if .Query.TVDBID }}&tvdbId={{ .Query.TVDBID }}{{ else }}{{ end }}{{ range .Categories }}&categories[]={{.}}{{end}}{{ if .Config.freeleech }}&free[]=100{{ else }}{{ end }}" sortField: "{{ .Config.sort }}" sortDirection: "{{ .Config.type }}" perPage: 100 @@ -154,4 +154,4 @@ search: minimumseedtime: # 7 days (as seconds = 7 x 24 x 60 x 60) text: 604800 -# json UNIT3D 6.4.1 +# json UNIT3D 6.5.0