broadcity: add date TZ

code tidy
This commit is contained in:
Garfield69 2020-11-13 09:40:42 +13:00
parent 3e45a7f127
commit 7589234145
1 changed files with 11 additions and 9 deletions

View File

@ -76,6 +76,12 @@ search:
selector: table#sortabletable tbody tr:has(div[id^="port-target-"])
fields:
category:
selector: a[href*="browse.php?category="]
attribute: href
filters:
- name: querystring
args: category
title:
selector: div[id^="port-target-"] a
filters:
@ -84,12 +90,9 @@ search:
details:
selector: div[id^="port-target-"] a
attribute: href
category:
selector: a[href*="browse.php?category="]
download:
selector: a[href*="download.php?id="]
attribute: href
filters:
- name: querystring
args: category
poster:
selector: div[id^="port-content-"] img
attribute: src
@ -99,11 +102,10 @@ search:
- name: regexp
args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2})
filters:
- name: append
args: " +03:00" # TRT
- name: dateparse
args: "02-01-2006 15:04"
download:
selector: a[href*="download.php?id="]
attribute: href
args: "02-01-2006 15:04 -07:00"
size:
selector: td:nth-child(5)
grabs: