cilipro: add date TZ

add music and book modes
code tidy
This commit is contained in:
Garfield69 2020-10-31 07:39:36 +13:00
parent 923faa1012
commit 4c75b55c48
1 changed files with 6 additions and 2 deletions

View File

@ -89,6 +89,8 @@ caps:
search: [q]
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings: []
@ -98,7 +100,7 @@ search:
method: post
followredirect: true
inputs:
keyword: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}"
keyword: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
rows:
selector: div.list-area > dl.item
@ -119,8 +121,10 @@ search:
date:
selector: dd.attr span:nth-child(1) b
filters:
- name: append
args: " +08:00" # CST
- name: dateparse
args: "2006-01-02"
args: "2006-01-02 -07:00"
size:
selector: dd.attr span:nth-child(2) b
seeders: