mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-02 16:42:01 +02:00
pleasuredome: fix leechers
also handle 2x ul vf add config sort options
This commit is contained in:
@@ -65,6 +65,30 @@
|
||||
modes:
|
||||
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: "data"
|
||||
options:
|
||||
"data": "created"
|
||||
"s.seeds": "seeders"
|
||||
"n.size": "size"
|
||||
"n.filename": "title"
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
default: "DESC"
|
||||
options:
|
||||
"DESC": "desc"
|
||||
"ASC": "asc"
|
||||
|
||||
login:
|
||||
path: login2.php
|
||||
method: form
|
||||
@@ -84,12 +108,14 @@
|
||||
inputs:
|
||||
search: "{{ .Keywords }}"
|
||||
category: 0
|
||||
# 0 all 1 activeonly 2 deadonly 3 freeonly 4 regularonly 5 disabled 6 ulbonus
|
||||
active: 0
|
||||
sort: "data"
|
||||
order: "DESC"
|
||||
sort: "{{ .Config.sort }}"
|
||||
order: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: table[width="100%"] > tbody tr:has(a[href^="download.php?id="])
|
||||
|
||||
fields:
|
||||
title:
|
||||
selector: a[href^="javascript:popdetails"]
|
||||
@@ -124,13 +150,14 @@
|
||||
seeders:
|
||||
selector: td:nth-last-child(6)
|
||||
leechers:
|
||||
selector: td:nth-last-child(5)
|
||||
selector: td:nth-last-child(5) a
|
||||
grabs:
|
||||
selector: td:nth-last-child(4)
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"img[src=\"images/fdownload.gif\"]": "0"
|
||||
"*": "1"
|
||||
img[src="images/fdownload.gif"]: 0
|
||||
"*": 1
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"*": "1"
|
||||
img[src="images/2x.gif"]: 2
|
||||
"*": 1
|
||||
|
Reference in New Issue
Block a user