mirror of
https://github.com/Jackett/Jackett
synced 2025-02-22 14:20:57 +00:00
torrentz2: amendment to 9a071a3457
using title: without a query string causes 0 results which meant the jackett dashboard TEST button failed. now we only add title: if a query was supplied.
This commit is contained in:
parent
837e74a743
commit
760231be43
1 changed files with 1 additions and 4 deletions
|
@ -69,11 +69,8 @@
|
|||
paths:
|
||||
- path: "{{if .Config.filter-verified }}verified{{else}}searchA{{end}}"
|
||||
inputs:
|
||||
f: "{{ .Keywords }}"
|
||||
f: "{{if .Keywords }}title: {{else}}{{end}}{{ .Keywords }}"
|
||||
safe: "{{if .Config.filter-safe }}1{{else}}0{{end}}"
|
||||
keywordsfilters:
|
||||
- name: prepend
|
||||
args: "title: " # search only in title, https://torrentz2.eu/help
|
||||
rows:
|
||||
selector: "html body #wrap .results dl:has(a)"
|
||||
# andmatch filter removed, see #3737
|
||||
|
|
Loading…
Reference in a new issue