1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-28 04:13:20 +01:00

jackett indexers as of e9f7e4d13f111bceccf251ceca4258d3fe795a26

This commit is contained in:
Bogdan
2023-06-07 03:39:36 +03:00
parent 82038df674
commit 8cd57b8029
63 changed files with 253 additions and 189 deletions

View File

@@ -57,8 +57,7 @@ settings:
login:
path: /api/torrents
method: get
inputs:
api_token: "{{ .Config.apikey }}"
inputs: {} # TODO: remove in v10
error:
- selector: a[href*="/login"]
message:
@@ -72,9 +71,11 @@ search:
response:
type: json
headers:
Authorization: ["Bearer {{ .Config.apikey }}"]
inputs:
# 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 }}"
sortField: "{{ .Config.sort }}"