mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
alein: add sort to config options.
This commit is contained in:
@@ -40,7 +40,6 @@
|
|||||||
- {id: 24, cat: PC/Phone-Other, desc: "Mobile-GSM"}
|
- {id: 24, cat: PC/Phone-Other, desc: "Mobile-GSM"}
|
||||||
- {id: 23, cat: TV/Sport, desc: "Sport"}
|
- {id: 23, cat: TV/Sport, desc: "Sport"}
|
||||||
|
|
||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
@@ -53,6 +52,22 @@
|
|||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: 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"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: index.php?page=login
|
path: index.php?page=login
|
||||||
@@ -65,17 +80,20 @@
|
|||||||
- selector: td.lista span[style="color:#FF0000;"]
|
- selector: td.lista span[style="color:#FF0000;"]
|
||||||
test:
|
test:
|
||||||
path: /
|
path: /
|
||||||
selector: :has(a[href="logout.php"])
|
selector: a[href="logout.php"]
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# http://alein.org/index.php?page=torrents&category=1%3B15%3B41%3B14%3B48%3B39%3B20%3B16%3B5%3B21%3B22%3B11&search=venom&active=1
|
# http://alein.org/index.php?page=torrents&category=1;15;41;14;48;39;20;16;5;21;22;11&search=venom&active=1
|
||||||
- path: index.php
|
- path: index.php
|
||||||
inputs:
|
inputs:
|
||||||
page: "torrents"
|
page: torrents
|
||||||
category: "{{range .Categories}}{{.}};{{end}}"
|
category: "{{ range .Categories }}{{.}};{{end}}"
|
||||||
search: "{{if .Keywords }}{{.Keywords}}{{else}}{{end}}"
|
search: "{{ .Keywords }}"
|
||||||
active: "1"
|
# 0 all 1 active only 2 dead only
|
||||||
|
active: 0
|
||||||
|
order: "{{ .Config.sort }}"
|
||||||
|
by: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: tr.trclass:not(:has(td.lista-cat-rec))
|
selector: tr.trclass:not(:has(td.lista-cat-rec))
|
||||||
@@ -100,7 +118,7 @@
|
|||||||
- name: prepend
|
- name: prepend
|
||||||
args: "download.php?id="
|
args: "download.php?id="
|
||||||
- name: append
|
- name: append
|
||||||
args: "&f={{.Result.title}}.torrent"
|
args: "&f={{ .Result.title }}.torrent"
|
||||||
banner:
|
banner:
|
||||||
selector: td a[href*="id="]
|
selector: td a[href*="id="]
|
||||||
attribute: onmouseover
|
attribute: onmouseover
|
||||||
@@ -121,6 +139,7 @@
|
|||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "02/01/2006"
|
args: "02/01/2006"
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "0"
|
text: 0
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
text: "1"
|
text: 1
|
||||||
|
|
Reference in New Issue
Block a user