nitro: add date TZ

code tidy
This commit is contained in:
Garfield69 2020-11-15 20:01:15 +13:00
parent e5af933a8b
commit 0320f2f9bf
1 changed files with 10 additions and 8 deletions

View File

@ -62,10 +62,10 @@ search:
- path: tags.php - path: tags.php
inputs: inputs:
search: "{{ .Keywords }}" search: "{{ .Keywords }}"
# 0 poster 1 list # 0 poster, 1 list
where: 1 where: 1
per: 50 per: 50
# 0 all 1 active 2 dead # 0 all, 1 active, 2 dead
active: 1 active: 1
order: "{{ .Config.sort }}" order: "{{ .Config.sort }}"
by: "{{ .Config.type }}" by: "{{ .Config.type }}"
@ -74,17 +74,17 @@ search:
selector: table[width="100%"] > tbody > tr:has(a[onclick="getMagnet(this)"]) selector: table[width="100%"] > tbody > tr:has(a[onclick="getMagnet(this)"])
fields: fields:
title:
selector: a[href^="/torrent/"]
details:
selector: a[href^="/torrent/"]
attribute: href
category: category:
selector: a[href^="/tags.php?tags="] selector: a[href^="/tags.php?tags="]
attribute: href attribute: href
filters: filters:
- name: querystring - name: querystring
args: tags args: tags
title:
selector: a[href^="/torrent/"]
details:
selector: a[href^="/torrent/"]
attribute: href
download: download:
selector: a[onclick="getMagnet(this)"] selector: a[onclick="getMagnet(this)"]
attribute: title attribute: title
@ -96,8 +96,10 @@ search:
date: date:
selector: td:nth-child(1) selector: td:nth-child(1)
filters: filters:
- name: append
args: " +01:00" # CET
- name: dateparse - name: dateparse
args: "02/01/2006" args: "02/01/2006 -07:00"
size: size:
selector: td:nth-child(4) selector: td:nth-child(4)
seeders: seeders: