mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Added Torrent2 filters safe-search and verified (#2581)
This commit is contained in:
@@ -40,13 +40,23 @@
|
|||||||
settings:
|
settings:
|
||||||
- name: itorrents-links
|
- name: itorrents-links
|
||||||
type: checkbox
|
type: checkbox
|
||||||
label: Add download links via itorrents.org
|
label: "Add download links via itorrents.org"
|
||||||
|
default: false
|
||||||
|
- name: filter-safe
|
||||||
|
type: checkbox
|
||||||
|
label: "Exclude adult content from results"
|
||||||
|
default: true
|
||||||
|
- name: filter-verified
|
||||||
|
type: checkbox
|
||||||
|
label: "Only include verifed content in results"
|
||||||
|
default: false
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: searchA
|
- path: "{{if .Config.filter-verified }}verified{{else}}searchA{{end}}"
|
||||||
inputs:
|
inputs:
|
||||||
f: "{{ .Query.Keywords }}"
|
f: "{{ .Query.Keywords }}"
|
||||||
|
safe: "{{if .Config.filter-safe }}1{{else}}0{{end}}"
|
||||||
rows:
|
rows:
|
||||||
selector: "html body #wrap .results dl:has(a)"
|
selector: "html body #wrap .results dl:has(a)"
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user