1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-02 13:16:16 +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}}" $raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
incldead: "1" 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: rows:
selector: div.myFrame-content > div > table > tbody > tr[class] selector: div.myFrame-content > div > table > tbody > tr[class]
filters: 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: fields:
download: download:
selector: a[href^="/torrent/"] selector: a[href^="/torrent/"]