mirror of
https://github.com/Jackett/Jackett
synced 2025-01-02 21:26:08 +00:00
ETTV: improve keywordsfilters
This commit is contained in:
parent
05b1895205
commit
7007f2e650
1 changed files with 7 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue