1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-12 23:25:49 +00:00

superbits: add search P2P releases only option (#14670)

This commit is contained in:
Bogdan 2023-09-02 15:42:33 +03:00 committed by GitHub
parent 8b3356f2cf
commit dcf72f4f92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,10 @@ settings:
type: checkbox
label: Search freeleech only
default: false
- name: p2p_releases_only
type: checkbox
label: Search P2P releases only
default: false
- name: sort
type: select
label: Sort requested from site
@ -102,6 +106,7 @@ search:
noaudio: false
nosub: false
order: "{{ .Config.type }}"
p2p: "{{ if .Config.p2p_releases_only }}true{{ else }}{{ end }}"
page: search
searchText: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }} {{ else }}{{ end }}{{ .Keywords }}"
section: all