1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-02 21:26:08 +00:00

ETTV: improve keywordsfilters

This commit is contained in:
kaso17 2017-11-10 11:30:11 +01:00
parent 05b1895205
commit 7007f2e650

View file

@ -35,12 +35,17 @@
path: torrents-search.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ if .Keywords }}+{{else}}{{end}}{{ .Keywords }}"
search: "{{ .Keywords }}"
incldead: "1"
sort: id
order: desc
keywordsfilters:
- name: urlencode
- name: replace
args: ["-", " "] # remove special search character (negative search)
- name: replace
args: ["+", " "] # remove special search character (positive search)
- name: re_replace
args: ["(\\w+)", " +$1"] # prepend + to each word
rows:
selector: div.myFrame-content > div > table > tbody > tr[class]