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:
parent
08b5bac072
commit
09a67a50f8
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue