From 8791a8d30b7685825763968d023ceadb55b58fb1 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 21 Dec 2019 10:26:38 +1300 Subject: [PATCH] theaudioscene: add config sort option --- .../Definitions/theaudioscene.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/Jackett.Common/Definitions/theaudioscene.yml b/src/Jackett.Common/Definitions/theaudioscene.yml index 99518e0c5..485bf6dde 100644 --- a/src/Jackett.Common/Definitions/theaudioscene.yml +++ b/src/Jackett.Common/Definitions/theaudioscene.yml @@ -37,6 +37,15 @@ type: info label: How to get the Cookie default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button
  5. Refresh the page by pressing F5
  6. Select the Headers tab
  7. Find 'cookie:' in the Request Headers section
  8. Copy & paste the whole cookie string to here.
" + - 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