1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-03 18:36:00 +00:00

scenepalace: add config sort options

This commit is contained in:
Garfield69 2019-12-20 16:03:43 +13:00
parent 874ac222c5
commit 094dbbcd06

View file

@ -32,6 +32,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: "4"
options:
"4": "created"
"7": "seeders"
"5": "size"
"1": "title"
- name: type
type: select
label: Order requested from site
default: "desc"
options:
"desc": "desc"
"asc": "asc"
login:
path: login.php
method: form
@ -51,11 +75,15 @@
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
rows:
selector: table[border="1"][cellpadding=5] > tbody > tr:has(a[href^="download.php?torrent="])
fields:
title:
selector: a[href^="details.php?id="]