mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
legittorrents: add config sort options
This commit is contained in:
@@ -25,20 +25,38 @@
|
|||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
|
|
||||||
settings: []
|
settings:
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "3"
|
||||||
|
options:
|
||||||
|
"3": "created"
|
||||||
|
"5": "seeders"
|
||||||
|
"2": "title"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "2"
|
||||||
|
options:
|
||||||
|
"2": "desc"
|
||||||
|
"1": "asc"
|
||||||
|
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# http://www.legittorrents.info/index.php?page=torrents&search=windows&category=0&active=0
|
# http://www.legittorrents.info/index.php?page=torrents&search=windows&category=0&active=0
|
||||||
- path: index.php
|
- path: index.php
|
||||||
inputs:
|
inputs:
|
||||||
page: "torrents"
|
page: torrents
|
||||||
search: "{{ .Keywords }}"
|
search: "{{ .Keywords }}"
|
||||||
category: "{{range .Categories}}{{.}};{{end}}"
|
category: "{{ range .Categories }}{{.}};{{end}}"
|
||||||
# 0 all 1 active 2 deadonly
|
# 0 all 1 active 2 deadonly
|
||||||
active: 1
|
active: 1
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table table table.lista > tbody > tr:has(a[href^="download.php?id="])
|
selector: table table table.lista > tbody > tr:has(a[href^="download.php?id="])
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href^="index.php?page=torrents&category="]
|
selector: a[href^="index.php?page=torrents&category="]
|
||||||
|
Reference in New Issue
Block a user