mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
ETTV: revert to old keywordsfilters
they fixed their search engine
This commit is contained in:
@@ -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/"]
|
||||||
|
Reference in New Issue
Block a user