mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
assorted unit3d: clean up $raw now that empty search fields are dropped
This commit is contained in:
@@ -78,8 +78,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -78,8 +78,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -80,8 +80,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -83,8 +83,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 $i, $e := .Categories }}&categories[{{$i}}]={{.}}{{end}}{{ if .Config.freeleech }}&free=1{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -73,8 +73,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -79,8 +79,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -72,8 +72,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -99,8 +99,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -71,8 +71,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -79,8 +79,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -83,8 +83,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -72,8 +72,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -77,8 +77,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -77,8 +77,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -101,8 +101,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -75,8 +75,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -71,8 +71,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -79,8 +79,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -67,8 +67,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -67,8 +67,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -79,8 +79,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -68,8 +68,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -101,8 +101,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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 }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -79,8 +79,14 @@ search:
|
|||||||
inputs:
|
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
|
# 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 }}"
|
api_token: "{{ .Config.apikey }}"
|
||||||
|
$raw: "{{ range .Categories }}&categories[]={{.}}{{end}}"
|
||||||
name: "{{ .Keywords }}"
|
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[]=100{{ else }}{{ end }}"
|
seasonNumber: "{{ .Query.Season }}"
|
||||||
|
episodeNumber: "{{ .Query.Ep }}"
|
||||||
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
@@ -85,11 +85,12 @@ search:
|
|||||||
# &startYear=&endYear=&playlistId=&collectionId=&categories[]=1&perPage=100&free[0]=100
|
# &startYear=&endYear=&playlistId=&collectionId=&categories[]=1&perPage=100&free[0]=100
|
||||||
- path: torrents
|
- path: torrents
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}{{ if .Config.freeleech }}free[0]=100{{ else }}{{ end }}&"
|
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
|
||||||
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
|
name: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
|
||||||
tmdbId: "{{ .Query.TMDBID }}"
|
tmdbId: "{{ .Query.TMDBID }}"
|
||||||
imdbId: "{{ .Query.IMDBIDShort }}"
|
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||||
tvdbId: "{{ .Query.TVDBID }}"
|
tvdbId: "{{ .Query.TVDBID }}"
|
||||||
|
"free[0]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}"
|
||||||
sortField: "{{ .Config.sort }}"
|
sortField: "{{ .Config.sort }}"
|
||||||
sortDirection: "{{ .Config.type }}"
|
sortDirection: "{{ .Config.type }}"
|
||||||
perPage: 100
|
perPage: 100
|
||||||
|
Reference in New Issue
Block a user