legittorrents: add missing sort

This commit is contained in:
Garfield69
2020-03-07 09:49:09 +13:00
parent dc9519c451
commit b5aee501e2

View File

@@ -33,6 +33,7 @@
options: options:
"3": "created" "3": "created"
"5": "seeders" "5": "seeders"
"4": "size"
"2": "title" "2": "title"
- name: type - name: type
type: select type: select
@@ -42,7 +43,6 @@
"2": "desc" "2": "desc"
"1": "asc" "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
@@ -53,6 +53,8 @@
category: "{{ range .Categories }}{{.}};{{end}}" category: "{{ range .Categories }}{{.}};{{end}}"
# 0 all 1 active 2 deadonly # 0 all 1 active 2 deadonly
active: 1 active: 1
order: "{{ .Config.sort }}"
by: "{{ .Config.type }}"
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="])