mirror of
https://github.com/Jackett/Jackett
synced 2025-01-31 20:02:08 +00:00
tsc: add config sort options
This commit is contained in:
parent
5650734a5d
commit
83c55f4a43
1 changed files with 32 additions and 13 deletions
|
@ -73,19 +73,36 @@
|
|||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: pin
|
||||
type: text
|
||||
label: Pin
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
- name: password
|
||||
type: password
|
||||
label: Password
|
||||
- name: pin
|
||||
type: text
|
||||
label: Pin
|
||||
- name: info_results
|
||||
type: info
|
||||
label: "Search results"
|
||||
default: "<ol><li>Only the Classic profile is supported.<li>Make sure to set the <b>TorrentList-Layout</b> option in your profile to <b>Klassisches Layout, sehr breite Darstellung.</b><li>And for best results set the <b>Torrents pro Seite</b> to <b>100.</b></ol>"
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: "added"
|
||||
options:
|
||||
"added": "created"
|
||||
"seeds": "seeders"
|
||||
"size": "size"
|
||||
"name": "title"
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: "desc"
|
||||
options:
|
||||
"desc": "desc"
|
||||
"asc": "asc"
|
||||
|
||||
login:
|
||||
path: landing.php
|
||||
method: form
|
||||
|
@ -114,13 +131,15 @@
|
|||
paths:
|
||||
- path: browse.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
|
||||
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
|
||||
search: "{{ .Keywords }}"
|
||||
incldead: "1"
|
||||
orderby: "added"
|
||||
sort: "desc"
|
||||
incldead: 1
|
||||
orderby: "{{ .Config.sort }}"
|
||||
sort: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: table.tablebrowse > tbody > tr:has(a[href^="download_ssl.php"])
|
||||
|
||||
fields:
|
||||
title:
|
||||
selector: a[title][href^="details.php"]
|
||||
|
@ -144,7 +163,7 @@
|
|||
selector: td:nth-child(9)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)"
|
||||
args: (\d+)
|
||||
size:
|
||||
selector: td:nth-child(6)
|
||||
filters:
|
||||
|
@ -158,12 +177,12 @@
|
|||
selector: td:has(a[href*="&toseeders="])
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)"
|
||||
args: (\d+)
|
||||
leechers:
|
||||
selector: td:has(a[href*="&todlers="])
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "(\\d+)"
|
||||
args: (\d+)
|
||||
date:
|
||||
selector: td:nth-child(5)
|
||||
filters:
|
||||
|
@ -173,8 +192,8 @@
|
|||
args: "02.01.200615:04:05"
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"font[color=\"#730d1e\"]:contains(\"[OnlyUpload]\")": "0"
|
||||
"*": "1"
|
||||
"font[color=\"#730d1e\"]:contains(\"[OnlyUpload]\")": 0
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
"*": 1
|
||||
|
|
Loading…
Reference in a new issue