mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
hdzone: add config sort options
This commit is contained in:
@@ -74,6 +74,22 @@
|
|||||||
type: info
|
type: info
|
||||||
label: How to get the Cookie
|
label: How to get the Cookie
|
||||||
default: "<ol><li>Login to this tracker in your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here</ol>"
|
default: "<ol><li>Login to this tracker in your browser<li>Open the <b>DevTools</b> panel by pressing <b>F12</b><li>Select the <b>Network</b> tab<li>Click on the <b>Doc</b> button<li>Refresh the page by pressing <b>F5</b><li>Select the <b>Headers</b> tab<li>Find 'cookie:' in the <b>Request Headers</b> section<li>Copy & paste the whole cookie string to here</ol>"
|
||||||
|
- 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:
|
login:
|
||||||
method: cookie
|
method: cookie
|
||||||
@@ -99,8 +115,12 @@
|
|||||||
search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
|
search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}"
|
||||||
# 0 AND 1 OR 2 exact
|
# 0 AND 1 OR 2 exact
|
||||||
search_mode: 0
|
search_mode: 0
|
||||||
|
sort: "{{ .Config.sort }}"
|
||||||
|
type: "{{ .Config.type }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.torrents > tbody > tr:has(table.torrentname)
|
selector: table.torrents > tbody > tr:has(table.torrentname)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href^="?cat="]
|
selector: a[href^="?cat="]
|
||||||
@@ -145,18 +165,18 @@
|
|||||||
selector: td:nth-child(8)
|
selector: td:nth-child(8)
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img.pro_free: "0"
|
img.pro_free: 0
|
||||||
img.pro_free2up: "0"
|
img.pro_free2up: 0
|
||||||
img.pro_50pctdown: "0.5"
|
img.pro_50pctdown: 0.5
|
||||||
img.pro_50pctdown2up: "0.5"
|
img.pro_50pctdown2up: 0.5
|
||||||
img.pro_30pctdown: "0.3"
|
img.pro_30pctdown: 0.3
|
||||||
"*": "1"
|
"*": 1
|
||||||
uploadvolumefactor:
|
uploadvolumefactor:
|
||||||
case:
|
case:
|
||||||
img.pro_50pctdown2up: "2"
|
img.pro_50pctdown2up: 2
|
||||||
img.pro_free2up: "2"
|
img.pro_free2up: 2
|
||||||
img.pro_2up: "2"
|
img.pro_2up: 2
|
||||||
"*": "1"
|
"*": 1
|
||||||
description:
|
description:
|
||||||
selector: td:nth-child(2)
|
selector: td:nth-child(2)
|
||||||
remove: a, img
|
remove: a, img
|
||||||
|
Reference in New Issue
Block a user