Torrentz2: improve search results

This commit is contained in:
kaso17 2018-09-03 15:12:48 +02:00
parent 50a09189e4
commit 9a071a3457
1 changed files with 5 additions and 3 deletions

View File

@ -69,12 +69,14 @@
paths: paths:
- path: "{{if .Config.filter-verified }}verified{{else}}searchA{{end}}" - path: "{{if .Config.filter-verified }}verified{{else}}searchA{{end}}"
inputs: inputs:
f: "{{ .Query.Keywords }}" f: "{{ .Keywords }}"
safe: "{{if .Config.filter-safe }}1{{else}}0{{end}}" safe: "{{if .Config.filter-safe }}1{{else}}0{{end}}"
keywordsfilters:
- name: prepend
args: "title: " # search only in title, https://torrentz2.eu/help
rows: rows:
selector: "html body #wrap .results dl:has(a)" selector: "html body #wrap .results dl:has(a)"
filters: # andmatch filter removed, see #3737
- name: andmatch
fields: fields:
title: title:
selector: dt a selector: dt a