mirror of
https://github.com/Jackett/Jackett
synced 2024-12-30 19:58:39 +00:00
ETTV: revert to old keywordsfilters
they fixed their search engine
This commit is contained in:
parent
e4698309a4
commit
b8507c71b6
1 changed files with 10 additions and 2 deletions
|
@ -37,11 +37,19 @@
|
|||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||
search: "{{ .Keywords }}"
|
||||
incldead: "1"
|
||||
|
||||
keywordsfilters:
|
||||
- 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
|
||||
- name: re_replace
|
||||
args: ["\\s+", " "] # clean up whitespaces (multiple consecutive spaces confuses the search engine)
|
||||
rows:
|
||||
selector: div.myFrame-content > div > table > tbody > tr[class]
|
||||
filters:
|
||||
- name: andmatch
|
||||
- name: andmatch # they ignore keywords <= characters, so we still andmatch it, see https://www.ettv.tv/forum/view/topic/and-search-operator-broken--70
|
||||
fields:
|
||||
download:
|
||||
selector: a[href^="/torrent/"]
|
||||
|
|
Loading…
Reference in a new issue