1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-27 00:22:54 +00:00

aftershock: add config sort options.

and row andmatch filter
This commit is contained in:
Garfield69 2019-12-12 15:52:47 +13:00
parent 38c3d99437
commit 7255a1c059

View file

@ -53,6 +53,30 @@
tv-search: [q, season, ep]
movie-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: "0"
options:
"0": "created"
"6": "seeders"
"4": "size"
"1": "title"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
login:
path: takelogin.php
method: post
@ -81,8 +105,14 @@
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows:
selector: table tbody#torrent_background tr:has(a.index)
filters:
- name: andmatch
fields:
title:
selector: a.index