assorted yml: code tidy

This commit is contained in:
Garfield69
2020-11-15 16:58:20 +13:00
parent 4685f8fdc1
commit 5363a9f0e9
7 changed files with 40 additions and 39 deletions

View File

@@ -91,7 +91,7 @@ search:
attribute: title
filters:
- name: append
args: " +00:00"
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "Jan 02 2006, 15:04 -07:00"
size:

View File

@@ -144,7 +144,7 @@ search:
optional: true
filters:
- name: append
args: " +08:00"
args: " +08:00" # CST
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
date:
@@ -153,7 +153,7 @@ search:
optional: true
filters:
- name: append
args: " +08:00"
args: " +08:00" # CST
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
size:

View File

@@ -91,8 +91,8 @@ search:
paths:
- path: browse.php
inputs:
# does not support multi categories so defaulting to ALL
do: search
# does not support multi categories so defaulting to ALL
category: 0
# yes incldead, no activeonly
include_dead_torrents: yes

View File

@@ -175,8 +175,7 @@ search:
img[src$="/torrent_free.png"]: 0
"*": 1
uploadvolumefactor:
case:
"*": 1
text: 1
minimumratio:
text: 1.0
# TSUE 2.2

View File

@@ -65,51 +65,53 @@ search:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "1"
search: "{{ .Keywords }}"
incldead: 1
rows:
selector: table> tbody > tr:has(a[href^="details?"])
filters:
- name: andmatch
fields:
download:
selector: a[href^="download.php?id="]
attribute: href
title:
selector: a[href^="details?"]
description:
optional: true
selector: td:nth-child(2) > span
details:
selector: a[href^="details?"]
attribute: href
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
grabs:
selector: td:nth-child(7)
title:
selector: a[href^="details?"]
details:
selector: a[href^="details?"]
attribute: href
download:
selector: a[href^="download.php?id="]
attribute: href
description:
optional: true
selector: td:nth-child(2) > span
files:
selector: td:nth-child(3)
size:
selector: td:nth-child(6)
downloadvolumefactor:
case:
img[src="//static.linkomanija.net/images/flag_green.gif"]: "0"
"*": "1"
uploadvolumefactor:
case:
"*": "1"
date:
selector: td:nth-child(5)
filters:
- name: append
args: " +01:00"
args: " +02:00" # EET
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
size:
selector: td:nth-child(6)
grabs:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
leechers:
selector: td:nth-child(9)
downloadvolumefactor:
case:
img[src="//static.linkomanija.net/images/flag_green.gif"]: 0
"*": 1
uploadvolumefactor:
text: 1
# engine tbd