mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
puntotorrent: add config sort options #6821
add xbtit tag add torrent per page info
This commit is contained in:
parent
fdc4db3a5d
commit
797cdb5b0b
1 changed files with 42 additions and 8 deletions
|
@ -91,9 +91,38 @@
|
|||
- {id: 98, cat: Other, desc: "Otros formatos - Adulto (+18)"}
|
||||
- {id: 99, cat: Other, desc: "Otros formatos - Música"}
|
||||
- {id: 10, cat: Other, desc: "Otros formatos - Estrenos"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
||||
settings:
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: "3"
|
||||
options:
|
||||
"3": "created"
|
||||
"5": "seeders"
|
||||
"4": "size"
|
||||
"2": "title"
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: "2"
|
||||
options:
|
||||
"2": "desc"
|
||||
"1": "asc"
|
||||
- name: info
|
||||
type: info
|
||||
label: Results Per Page
|
||||
default: For best results, change the <b>Torrents per page:</b> setting to <b>100</b> on your account profile.
|
||||
|
||||
login:
|
||||
path: index.php?page=login
|
||||
method: post
|
||||
|
@ -116,12 +145,16 @@
|
|||
- name: re_replace
|
||||
args: ["[^a-zA-Z0-9]+", " "]
|
||||
inputs:
|
||||
page: "torrents"
|
||||
page: torrents
|
||||
$raw: "&category={{range .Categories}}{{.}};{{end}}"
|
||||
active: "1"
|
||||
active: 1
|
||||
search: "{{ .Keywords }}"
|
||||
order: "{{ .Config.sort }}"
|
||||
by: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: "#mcol .block-content-l table table.lista > tbody > tr:not(:first-child):not(.descripcion)"
|
||||
|
||||
fields:
|
||||
category:
|
||||
selector: td:nth-child(1) a
|
||||
|
@ -195,11 +228,12 @@
|
|||
attribute: href
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
img[src$="golden.gif"]: "0"
|
||||
img[src$="silver.gif"]: "0.5"
|
||||
"*": "1"
|
||||
img[src$="golden.gif"]: 0
|
||||
img[src$="silver.gif"]: 0.5
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
img[src$="x2.gif"]: "2"
|
||||
img[src$="x3.gif"]: "3"
|
||||
"*": "1"
|
||||
img[src$="x2.gif"]: 2
|
||||
img[src$="x3.gif"]: 3
|
||||
"*": 1
|
||||
# xbtit 2.3.0
|
||||
|
|
Loading…
Reference in a new issue