theaudioscene: add config sort option

This commit is contained in:
Garfield69
2019-12-21 10:26:38 +13:00
parent 2fa6db38f6
commit 8791a8d30b

View File

@@ -37,6 +37,15 @@
type: info
label: How to get the Cookie
default: "<ol><li>Login to this tracker with 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: "0"
options:
"0": "created"
"5": "seeders"
"2": "size"
"1": "title"
login:
method: cookie
@@ -52,8 +61,7 @@
inputs:
# catalog 0 all
SrcCat: 0
# sort 0 added 1 name 2 size 3 added 4 rated 5 seeders 6 leechers 7 grabs
SrcDat: 0
SrcDat: "{{ .Config.sort }}"
# 0 new&old 1 new only 2 old only
SrcEnd: 0
search: "{{ .Keywords }}"
@@ -69,6 +77,7 @@
args: ["(th|st|nd|rd)", ""]
- name: dateparse
args: "Jan 02 2006"
fields:
title:
selector: td[id$="_1"] a
@@ -106,6 +115,6 @@
grabs:
selector: td[id$="_12"]
downloadvolumefactor:
text: "1"
text: 1
uploadvolumefactor:
text: "1"
text: 1