mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
ETTV: improve keywordsfilters
This commit is contained in:
@@ -35,12 +35,17 @@
|
|||||||
path: torrents-search.php
|
path: torrents-search.php
|
||||||
inputs:
|
inputs:
|
||||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||||
search: "{{ if .Keywords }}+{{else}}{{end}}{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
incldead: "1"
|
incldead: "1"
|
||||||
sort: id
|
sort: id
|
||||||
order: desc
|
order: desc
|
||||||
keywordsfilters:
|
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:
|
rows:
|
||||||
selector: div.myFrame-content > div > table > tbody > tr[class]
|
selector: div.myFrame-content > div > table > tbody > tr[class]
|
||||||
|
Reference in New Issue
Block a user