hdhome: fix date parsing

This commit is contained in:
Garfield69
2021-10-10 10:54:24 +13:00
parent fda93cd83e
commit f27675aa92

View File

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