mirror of
https://github.com/Jackett/Jackett
synced 2025-02-26 16:12:55 +00:00
baibako: add config sort option
This commit is contained in:
parent
0610401418
commit
f5e6ca30ef
1 changed files with 24 additions and 4 deletions
|
@ -27,6 +27,22 @@
|
|||
type: checkbox
|
||||
label: Strip Russian Letters
|
||||
default: false
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: "4"
|
||||
options:
|
||||
"4": "created"
|
||||
"7": "seeders"
|
||||
"5": "size"
|
||||
"1": "title"
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: "desc"
|
||||
options:
|
||||
"desc": "desc"
|
||||
"asc": "asc"
|
||||
|
||||
login:
|
||||
path: takelogin.php
|
||||
|
@ -46,12 +62,16 @@
|
|||
inputs:
|
||||
search: "{{.Keywords }}"
|
||||
# 0 active 1 incldead 2 onlydead 3 gold 4 seedfree
|
||||
incldead: "1"
|
||||
incldead: 1
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
keywordsfilters:
|
||||
- name: re_replace
|
||||
args: ["[s|S](\\d+)[e|E][\\d]+", "/s$1"]
|
||||
|
||||
rows:
|
||||
selector: table > tbody > tr:has(a[href^="details.php?id="])
|
||||
|
||||
fields:
|
||||
title:
|
||||
selector: a[href^="details.php?id="]
|
||||
|
@ -142,8 +162,8 @@
|
|||
selector: td:nth-last-child(1)
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"a[href^=\"details.php?id=\"]:contains(\"(Золото)\")": "0"
|
||||
"*": "1"
|
||||
"a[href^=\"details.php?id=\"]:contains(\"(Золото)\")": 0
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
"*": 1
|
||||
|
|
Loading…
Reference in a new issue