chdbits: fix date parsing

This commit is contained in:
Garfield69
2021-10-10 10:39:19 +13:00
parent 81e8b8b369
commit 8c6318ef16

View File

@@ -122,13 +122,24 @@ search:
leechers:
selector: td:nth-child(7)
date:
# time type: time elapsed (default)
selector: td:nth-child(4) > span[title]
attribute: title
optional: true
filters:
- name: append
args: " +08:00" # CST
- name: dateparse
args: "2006-01-02 15:04:05 -07:00"
date:
# time added
selector: td:nth-child(4):not(:has(span))
optional: true
filters:
- name: append
args: " +08:00" # CST
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
downloadvolumefactor:
case:
img.pro_free: 0