acidlounge: add date TZ

code tidy
This commit is contained in:
Garfield69
2020-11-12 21:42:50 +13:00
parent d837a0c64f
commit 6a36bff5b9

View File

@@ -83,9 +83,11 @@ search:
inputs: inputs:
$raw: "{{range .Categories}}cid[]={{.}}&{{end}}" $raw: "{{range .Categories}}cid[]={{.}}&{{end}}"
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
search_type: "title" search_type: title
rows: rows:
selector: table#browse_torrents_table > tbody > tr[id^="torrent_row_"] selector: table#browse_torrents_table > tbody > tr[id^="torrent_row_"]
fields: fields:
title: title:
selector: a.torrent_name selector: a.torrent_name
@@ -119,15 +121,15 @@ search:
args: ([\d\.]+) args: ([\d\.]+)
downloadvolumefactor: downloadvolumefactor:
case: case:
":root div#notice_ratioBoostingMadness": "0" ":root div#notice_ratioBoostingMadness": 0
"*": "1" "*": 1
uploadvolumefactor: uploadvolumefactor:
case: text: 1
"*": "1"
date: date:
selector: td.torrent_table_dateAdded selector: td.torrent_table_dateAdded
filters: filters:
- name: append - name: append
args: " +01:00" args: " +01:00" # CET
- name: dateparse - name: dateparse
args: "2006-01-02 15:04:05 -07:00" args: "2006-01-02 15:04:05 -07:00"
# engine tbd