mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-03 00:47:21 +02:00
hellashut-api: add new fields and add cat search #15252
freeleech and imdbid in results categories in query
This commit is contained in:
@@ -133,8 +133,9 @@ search:
|
||||
type: json
|
||||
|
||||
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 }}"
|
||||
$raw: "{{ range .Categories }}&c[]={{.}}{{end}}"
|
||||
search: "{{ .Keywords }}"
|
||||
# 0 active, 1 both, 2 dead
|
||||
incldead: 1
|
||||
@@ -157,6 +158,8 @@ search:
|
||||
text: "torrents-details.php?id={{ .Result._id }}"
|
||||
download:
|
||||
text: "{{ .Result.details }}"
|
||||
imdbid:
|
||||
selector: imdb
|
||||
files:
|
||||
selector: numfiles
|
||||
size:
|
||||
@@ -171,7 +174,11 @@ search:
|
||||
grabs:
|
||||
selector: times_completed
|
||||
downloadvolumefactor:
|
||||
text: 1
|
||||
selector: freeleech
|
||||
# 0 notfree, 1 free
|
||||
case:
|
||||
0: 1
|
||||
1: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
minimumratio:
|
||||
@@ -179,4 +186,4 @@ search:
|
||||
minimumseedtime:
|
||||
# 10 day (as seconds = 10 x 24 x 60 x 60)
|
||||
text: 864000
|
||||
# JSON honAPI SECOND EDITION
|
||||
# JSON honAPI v2.2.4
|
||||
|
Reference in New Issue
Block a user