From dd8000036d44e3de631ad592aca56ebfb13f2319 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 27 Oct 2020 09:48:38 +1300 Subject: [PATCH] gay-torrentsorg: code tidy drop config option 'active', include all torrents. --- .../Definitions/gay-torrentsorg.yml | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/src/Jackett.Common/Definitions/gay-torrentsorg.yml b/src/Jackett.Common/Definitions/gay-torrentsorg.yml index 61454b45d..13ba99992 100644 --- a/src/Jackett.Common/Definitions/gay-torrentsorg.yml +++ b/src/Jackett.Common/Definitions/gay-torrentsorg.yml @@ -1,7 +1,7 @@ --- id: gay-torrentsorg name: gay-torrents.org -description: "Gay-Torrents.org is a Private Torrent Tracker for GAY XXX" +description: "Gay-Torrents.org is a Private Torrent Tracker for GAY 3X" language: en-us type: private encoding: UTF-8 @@ -16,18 +16,10 @@ settings: - name: password type: password label: Password - - name: active - type: select - label: Status - default: 0 - options: - 0: "Active and Inactive" - 1: Active - 2: Inactive - name: info_categories type: info label: "Hidden categories" - default: "Results for categories hidden in profile will not be visible." + default: "Results for categories hidden in account profile will not be visible." - name: info_results type: info label: "Search results" @@ -94,10 +86,13 @@ search: method: get inputs: $raw: "{{range .Categories}}category[]={{.}}&{{end}}" - search: "{{ .Query.Keywords }}" - active: "{{ .Config.active }}" + search: "{{ .Keywords }}" + # 0 both, 1 active, 2 dead + active: 0 + rows: selector: div.torrent + fields: title: selector: div:nth-child(2) > div:nth-child(1) > a:nth-child(1) @@ -149,6 +144,5 @@ search: "div:nth-child(2) > div:nth-child(3) > a:contains(\"-25%\")": 0.25 "*": 1 uploadvolumefactor: - case: - "*": 1 + text: 1 # engine tbd