learflakes: fix mon-sun date processing

add date TZ for dateparse
add book-search
This commit is contained in:
Garfield69
2020-10-06 20:11:22 +13:00
parent c8e4cfefdd
commit 1f34b62974

View File

@@ -42,6 +42,7 @@ caps:
modes: modes:
search: [q] search: [q]
book-search: [q]
settings: settings:
- name: username - name: username
@@ -159,16 +160,17 @@ search:
filters: filters:
- name: regexp - name: regexp
args: "Uploaded (.+?) by" args: "Uploaded (.+?) by"
- name: replace - name: fuzzytime
args: [" at ", " "]
date: date:
selector: div.torrentOwner:contains("-") selector: div.torrentOwner:contains("-")
optional: true optional: true
filters: filters:
- name: regexp - name: regexp
args: "Uploaded (.+?) by" args: "Uploaded (.+?) by"
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse - name: dateparse
args: "02-01-2006 15:04" args: "02-01-2006 15:04 -07:00"
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src$="/torrent_free.png"]: 0 img[src$="/torrent_free.png"]: 0