hdme: add date TZ and fix date processing

This commit is contained in:
Garfield69
2020-10-03 17:39:44 +13:00
parent 2171fc0709
commit f40732d97a
2 changed files with 7 additions and 2 deletions

View File

@@ -132,7 +132,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:
@@ -141,7 +141,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

@@ -140,10 +140,15 @@ search:
selector: td:nth-child(6)
remove: br
date:
# October 2, 2020, 1:33 pm
selector: td:nth-child(3)
filters:
- name: regexp
args: "Added: (.+?)\n"
- name: append
args: " -07:00" # PDT
- name: dateparse
args: "January 2, 2006, 3:04 PM -07:00"
seeders:
selector: td:nth-child(8)
leechers: