mirror of
https://github.com/Jackett/Jackett
synced 2025-02-27 00:22:54 +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
|
type: checkbox
|
||||||
label: Strip Russian Letters
|
label: Strip Russian Letters
|
||||||
default: false
|
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:
|
login:
|
||||||
path: takelogin.php
|
path: takelogin.php
|
||||||
|
@ -46,12 +62,16 @@
|
||||||
inputs:
|
inputs:
|
||||||
search: "{{.Keywords }}"
|
search: "{{.Keywords }}"
|
||||||
# 0 active 1 incldead 2 onlydead 3 gold 4 seedfree
|
# 0 active 1 incldead 2 onlydead 3 gold 4 seedfree
|
||||||
incldead: "1"
|
incldead: 1
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["[s|S](\\d+)[e|E][\\d]+", "/s$1"]
|
args: ["[s|S](\\d+)[e|E][\\d]+", "/s$1"]
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table > tbody > tr:has(a[href^="details.php?id="])
|
selector: table > tbody > tr:has(a[href^="details.php?id="])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
title:
|
title:
|
||||||
selector: a[href^="details.php?id="]
|
selector: a[href^="details.php?id="]
|
||||||
|
@ -142,8 +162,8 @@
|
||||||
selector: td:nth-last-child(1)
|
selector: td:nth-last-child(1)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"a[href^=\"details.php?id=\"]:contains(\"(Золото)\")": "0"
|
"a[href^=\"details.php?id=\"]:contains(\"(Золото)\")": 0
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
"*": "1"
|
"*": 1
|
||||||
|
|
Loading…
Reference in a new issue