newretro: add date TZ

code tidy
This commit is contained in:
Garfield69 2020-11-15 20:00:28 +13:00
parent e21033031b
commit b85d3a2ff9
1 changed files with 20 additions and 16 deletions

View File

@ -67,7 +67,7 @@ login:
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
secure_pin: "{{ .Config.pin }}"
returnto: "/"
returnto: /
error:
- selector: table.tableinborder:contains("Anmeldung Gescheitert!") > tbody > tr > td.tablea
test:
@ -78,31 +78,32 @@ search:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
showsearch: "1"
orderby: "added"
sort: "desc"
incldead: "1"
search: "{{ .Keywords }}"
showsearch: 1
orderby: added
sort: desc
incldead: 1
rows:
selector: table.tableinborder[summary] > tbody > tr
filters:
- name: andmatch
fields:
download:
selector: a[href^="download.php?torrent="]
attribute: href
title:
selector: a[href^="details.php?id="]:has(b)
category:
selector: a[href^="browse.php?cat="]
attribute: href
filters:
- name: querystring
args: cat
title:
selector: a[href^="details.php?id="]:has(b)
details:
selector: td.tablea > table > tbody > tr:nth-child(2) > td:nth-child(4) > a
attribute: href
download:
selector: a[href^="download.php?torrent="]
attribute: href
size:
selector: td.tablea > table > tbody > tr:nth-child(2) > td:nth-child(1) > b:nth-child(1)
grabs:
@ -118,12 +119,15 @@ search:
filters:
- name: replace
args: ["\u00a0", " "]
- name: append
args: " +01:00" # CET
- name: dateparse
args: "02.01.2006 15:04:05"
args: "02.01.2006 15:04:05 -07:00"
downloadvolumefactor:
case:
"font[color=\"red\"]:contains(\"Only Upload\")": "0"
"*": "1"
"font[color=\"red\"]:contains(\"Only Upload\")": 0
"*": 1
uploadvolumefactor:
case:
"*": "1"
text: 1
# MR and MST tbd
# engine tbd