mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
bitturk: add freeleech filter #9456
fix freeleech and silver coin display add minimumratio and minimumseedtime
This commit is contained in:
parent
033878cb30
commit
c46d901209
1 changed files with 13 additions and 2 deletions
|
@ -69,6 +69,10 @@ settings:
|
||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
|
- name: freeleech
|
||||||
|
type: checkbox
|
||||||
|
label: Search freeleech only
|
||||||
|
default: false
|
||||||
- name: info
|
- name: info
|
||||||
type: info
|
type: info
|
||||||
label: Layout
|
label: Layout
|
||||||
|
@ -122,6 +126,7 @@ search:
|
||||||
pid: 32
|
pid: 32
|
||||||
$raw: "{{ range .Categories }}cid[]={{.}}&{{end}}"
|
$raw: "{{ range .Categories }}cid[]={{.}}&{{end}}"
|
||||||
keywords: "{{ .Keywords }}"
|
keywords: "{{ .Keywords }}"
|
||||||
|
# name, description, both, uploader
|
||||||
search_type: name
|
search_type: name
|
||||||
searchin: title
|
searchin: title
|
||||||
"sortOptions[sortBy]": "{{ .Config.sort }}"
|
"sortOptions[sortBy]": "{{ .Config.sort }}"
|
||||||
|
@ -130,7 +135,7 @@ search:
|
||||||
- selector: div.error:not(:contains("Gösterilecek sonuç bulunamadı."))
|
- selector: div.error:not(:contains("Gösterilecek sonuç bulunamadı."))
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#torrents_table_classic tr:has(td.torrent_name)
|
selector: "table#torrents_table_classic tr:has(td.torrent_name){{ if .Config.freeleech }}:has(img[src$=\"/torrent_free.png\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
|
@ -181,10 +186,16 @@ search:
|
||||||
attribute: href
|
attribute: href
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"img[src$=\"/torrent_free.png\"]": 0.5
|
"img[src$=\"/silver.gif\"]": 0.5
|
||||||
|
"img[src$=\"/torrent_free.png\"]": 0
|
||||||
"*": 1
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"img[src$=\"/torrent_multiple_upload.png\"]": 2
|
"img[src$=\"/torrent_multiple_upload.png\"]": 2
|
||||||
"*": 1
|
"*": 1
|
||||||
|
minimumratio:
|
||||||
|
text: 1.0
|
||||||
|
minimumseedtime:
|
||||||
|
# 3 day (as seconds = 3 x 24 x 60 x 60)
|
||||||
|
text: 259200
|
||||||
# TSUE 2.2
|
# TSUE 2.2
|
||||||
|
|
Loading…
Add table
Reference in a new issue