mirror of https://github.com/Jackett/Jackett
sugoimusic: freetorrent=0 returns no results during global freeleech period
This commit is contained in:
parent
970d57f9c4
commit
54855a5822
|
@ -87,7 +87,8 @@ search:
|
||||||
paths:
|
paths:
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
# freetorrent: 0 normal, 1 freeleech, 2 neutral leech, 3 either
|
||||||
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}{{ if .Config.freeleech }}freetorrent=1&{{ else }}{{ end }}"
|
||||||
searchstr: "{{ .Keywords }}"
|
searchstr: "{{ .Keywords }}"
|
||||||
# we can only grab the first release if group_results=1
|
# we can only grab the first release if group_results=1
|
||||||
group_results: 0
|
group_results: 0
|
||||||
|
@ -96,8 +97,6 @@ search:
|
||||||
taglist: "{{ .Query.Genre }}"
|
taglist: "{{ .Query.Genre }}"
|
||||||
order_by: "{{ .Config.sort }}"
|
order_by: "{{ .Config.sort }}"
|
||||||
order_way: "{{ .Config.type }}"
|
order_way: "{{ .Config.type }}"
|
||||||
# 0 normal, 1 freeleech, 2 neutral leech, 3 either
|
|
||||||
freetorrent: "{{ if .Config.freeleech }}1{{ else }}0{{ end }}"
|
|
||||||
searchsubmit: 1
|
searchsubmit: 1
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
|
|
Loading…
Reference in New Issue