mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
crnaberza: add freeleech filter #9456
also add minimumratio and minimumseedtime
This commit is contained in:
@@ -61,6 +61,10 @@ settings:
|
|||||||
type: info
|
type: info
|
||||||
label: Results Per Page
|
label: Results Per Page
|
||||||
default: For best results, change the 'Torrents per page' setting to 100 on your 'Personal Options' from the 'Personal' menu on the Crna Berza webpage.
|
default: For best results, change the 'Torrents per page' setting to 100 on your 'Personal Options' from the 'Personal' menu on the Crna Berza webpage.
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: sort
|
- name: sort
|
||||||
type: select
|
type: select
|
||||||
label: Sort requested from site
|
label: Sort requested from site
|
||||||
@@ -109,16 +113,16 @@ search:
|
|||||||
inputs:
|
inputs:
|
||||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
# 0 title 1 descr 2 both
|
# 0 title, 1 descr, 2 both
|
||||||
blah: 0
|
blah: 0
|
||||||
# 0 active 1 incldead 2 onlydead
|
# 0 active, 1 incldead, 2 onlydead
|
||||||
incldead: 1
|
incldead: 1
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
type: "{{ .Config.type }}"
|
type: "{{ .Config.type }}"
|
||||||
# does not support searching imdbid and does not return imdb links
|
# does not support searching imdbid and does not return imdb links
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr:has(td.trowtorrent)
|
selector: "tr:has(td.trowtorrent){{ if .Config.freeleech }}:has(img[src$=\"/pic/freedownload.gif\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
@@ -171,4 +175,9 @@ search:
|
|||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: 1
|
text: 1
|
||||||
|
minimumratio:
|
||||||
|
text: 1.0
|
||||||
|
minimumseedtime:
|
||||||
|
# 7 day (as seconds = 7 x 24 x 60 x 60)
|
||||||
|
text: 604800
|
||||||
# U-232
|
# U-232
|
||||||
|
Reference in New Issue
Block a user