gaytorrentru: code tidy

drop config option incldead, include all torrents.
This commit is contained in:
Garfield69 2020-10-27 09:49:23 +13:00
parent dd8000036d
commit 2fac1f04fe
1 changed files with 9 additions and 17 deletions

View File

@ -1,10 +1,7 @@
---
# Update by LA5T based on the orignial 'gaytorrentru.yml'
# 29.07.2018 23:02 UTC+2
#
id: gaytorrentru
name: GAYtorrent.ru
description: "GayTorrent.ru is a Private Torrent Tracker for GAY XXX"
description: "GayTorrent.ru is a Private Torrent Tracker for GAY 3X"
language: en-us
type: private
encoding: UTF-8
@ -18,18 +15,10 @@ settings:
- name: password
type: password
label: Password
- name: incldead
type: select
label: Status
default: 1
options:
0: Active
1: "Active and Inactive"
2: Inactive
- name: info
type: info
label: "Hidden categories"
default: "For results in the following categories you must edit your profile.<br />- Straight<br />- Bisexual<br />- Scat"
default: "Results for categories hidden in account profile will not be visible."
caps:
categorymappings:
@ -94,10 +83,13 @@ search:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "{{ .Config.incldead }}"
search: "{{ .Keywords }}"
# 0 active, 1 both, 2 dead
incldead: 1
rows:
selector: table.browse_result > tbody > tr:has(a[href^="details.php?id="])
fields:
category:
selector: a[href^="browse.php?cat="]
@ -140,5 +132,5 @@ search:
"td:nth-child(3) > div > nobr > font[color=\"yellow\"]": 0
"*": 1
uploadvolumefactor:
case:
"*": 1
text: 1
# engine tbd