mirror of https://github.com/Jackett/Jackett
rus-media: size/seeders/leechers can be missing. resolves #6603
also add config sort option.
This commit is contained in:
parent
d1ac466974
commit
66927a7020
|
@ -275,7 +275,23 @@
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
|
||||||
settings: []
|
settings:
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "t"
|
||||||
|
options:
|
||||||
|
"t": "created"
|
||||||
|
"ts": "seeders"
|
||||||
|
"sz": "size"
|
||||||
|
"i": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "d"
|
||||||
|
options:
|
||||||
|
"d": "desc"
|
||||||
|
"a": "asc"
|
||||||
|
|
||||||
download:
|
download:
|
||||||
selector: a[href^="./download/file.php?id="]
|
selector: a[href^="./download/file.php?id="]
|
||||||
|
@ -290,10 +306,13 @@
|
||||||
fp: 1
|
fp: 1
|
||||||
tracker_search: torrent
|
tracker_search: torrent
|
||||||
keywords: "{{if .Keywords }}{{.Keywords}}{{else}}2019{{end}}"
|
keywords: "{{if .Keywords }}{{.Keywords}}{{else}}2019{{end}}"
|
||||||
|
sk: "{{ .Config.sort }}"
|
||||||
|
sd: "{{ .Config.type }}"
|
||||||
$raw: "{{range .Categories}}&fid[]={{.}}{{end}}"
|
$raw: "{{range .Categories}}&fid[]={{.}}{{end}}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.tablebg tr.col_line
|
selector: table.tablebg tr.col_line
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href^="./viewtopic.php?f="]
|
selector: a[href^="./viewtopic.php?f="]
|
||||||
|
@ -310,7 +329,10 @@
|
||||||
selector: a.topictitle
|
selector: a.topictitle
|
||||||
attribute: href
|
attribute: href
|
||||||
size:
|
size:
|
||||||
selector: td:nth-of-type(5) p
|
text: "0 B"
|
||||||
|
size:
|
||||||
|
selector: td:nth-of-type(5) p:not(:empty)
|
||||||
|
optional: true
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["ТБ", "TB"]
|
args: ["ТБ", "TB"]
|
||||||
|
@ -320,10 +342,16 @@
|
||||||
args: ["МБ", "MB"]
|
args: ["МБ", "MB"]
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["КБ", "KB"]
|
args: ["КБ", "KB"]
|
||||||
|
seeders:
|
||||||
|
text: 0
|
||||||
seeders:
|
seeders:
|
||||||
selector: span.seed
|
selector: span.seed
|
||||||
|
optional: true
|
||||||
|
leechers:
|
||||||
|
text: 0
|
||||||
leechers:
|
leechers:
|
||||||
selector: span.leech
|
selector: span.leech
|
||||||
|
optional: true
|
||||||
date:
|
date:
|
||||||
# Сегодня, 03:04
|
# Сегодня, 03:04
|
||||||
# Вчера, 22:47
|
# Вчера, 22:47
|
||||||
|
@ -369,6 +397,6 @@
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02 Jan 2006 15:04"
|
args: "02 Jan 2006 15:04"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
|
Loading…
Reference in New Issue