1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-09 13:52:03 +00:00

torrentleech: swap row filter not:cntains(rar) for -tags:rar on search. resolves #14856

this will allow prowlarr to support rar exclusion for this indexer.
This commit is contained in:
Garfield69 2023-11-18 18:51:09 +13:00
parent 08b5bac072
commit 09a67a50f8

View file

@ -152,8 +152,10 @@ search:
# remove dashes at the beginning of keywords as they exclude search strings (see issue #3096)
- name: re_replace
args: ["(^|\\s)-", " "]
- name: append
args: "{{ if .Config.exclude_archives }} -tags:rar{{ else }}{{ end }}"
rows:
selector: "torrentList{{ if .Config.exclude_archives }}:not(.tags:contains(\"rar\")){{ else }}{{ end }}"
selector: torrentList
count:
selector: $.numFound