mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrentleech: add exclude archives option
This commit is contained in:
@@ -100,6 +100,10 @@ settings:
|
|||||||
type: checkbox
|
type: checkbox
|
||||||
label: Exclude SCENE torrents from results
|
label: Exclude SCENE torrents from results
|
||||||
default: false
|
default: false
|
||||||
|
- name: exclude_archives
|
||||||
|
type: checkbox
|
||||||
|
label: Exclude torrents with the tag RAR from results
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
@@ -154,7 +158,7 @@ search:
|
|||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(^|\\s)-", " "]
|
args: ["(^|\\s)-", " "]
|
||||||
rows:
|
rows:
|
||||||
selector: torrentList
|
selector: "torrentList{{ if .Config.exclude_archives }}:not(.tags:contains(\"rar\")){{ else }}{{ end }}"
|
||||||
count:
|
count:
|
||||||
selector: $.numFound
|
selector: $.numFound
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user