1
0
Fork 0
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:
kaso17 2017-11-29 19:10:42 +01:00
parent e4698309a4
commit b8507c71b6

View file

@ -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/"]