mirror of https://github.com/Jackett/Jackett
hellashut-api: add new fields and add cat search #15252
freeleech and imdbid in results categories in query
This commit is contained in:
parent
75044987f7
commit
f55161a787
|
@ -133,8 +133,9 @@ search:
|
||||||
type: json
|
type: json
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
# https://hellashut.net/api.php?passkey=1234567890abcdef&search=&incldead=1&freeleech=0
|
# https://hellashut.net/api.php?passkey=1234567890abcdef&search=&incldead=1&freeleech=0&c[]=85
|
||||||
passkey: "{{ .Config.passkey }}"
|
passkey: "{{ .Config.passkey }}"
|
||||||
|
$raw: "{{ range .Categories }}&c[]={{.}}{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
# 0 active, 1 both, 2 dead
|
# 0 active, 1 both, 2 dead
|
||||||
incldead: 1
|
incldead: 1
|
||||||
|
@ -157,6 +158,8 @@ search:
|
||||||
text: "torrents-details.php?id={{ .Result._id }}"
|
text: "torrents-details.php?id={{ .Result._id }}"
|
||||||
download:
|
download:
|
||||||
text: "{{ .Result.details }}"
|
text: "{{ .Result.details }}"
|
||||||
|
imdbid:
|
||||||
|
selector: imdb
|
||||||
files:
|
files:
|
||||||
selector: numfiles
|
selector: numfiles
|
||||||
size:
|
size:
|
||||||
|
@ -171,7 +174,11 @@ search:
|
||||||
grabs:
|
grabs:
|
||||||
selector: times_completed
|
selector: times_completed
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: 1
|
selector: freeleech
|
||||||
|
# 0 notfree, 1 free
|
||||||
|
case:
|
||||||
|
0: 1
|
||||||
|
1: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
minimumratio:
|
minimumratio:
|
||||||
|
@ -179,4 +186,4 @@ search:
|
||||||
minimumseedtime:
|
minimumseedtime:
|
||||||
# 10 day (as seconds = 10 x 24 x 60 x 60)
|
# 10 day (as seconds = 10 x 24 x 60 x 60)
|
||||||
text: 864000
|
text: 864000
|
||||||
# JSON honAPI SECOND EDITION
|
# JSON honAPI v2.2.4
|
||||||
|
|
Loading…
Reference in New Issue