hdturk: add date TZ

code tidy
This commit is contained in:
Garfield69
2020-11-15 11:14:03 +13:00
parent 1b577dcd88
commit 298b05b55c

View File

@@ -108,7 +108,7 @@ search:
inputs: inputs:
# does not support multi categories so defaulting to ALL # does not support multi categories so defaulting to ALL
do: search do: search
keywords: "{{.Keywords}}" keywords: "{{ .Keywords }}"
category: 0 category: 0
search_type: t_name search_type: t_name
include_dead_torrents: yes include_dead_torrents: yes
@@ -138,8 +138,10 @@ search:
- name: regexp - name: regexp
args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2}) args: (\d{2}-\d{2}-\d{4} \d{2}:\d{2})
filters: filters:
- name: append
args: " +03:00" # TRT
- name: dateparse - name: dateparse
args: "02-01-2006 15:04" args: "02-01-2006 15:04 -07:00"
download: download:
selector: a[href*="download.php?id="] selector: a[href*="download.php?id="]
attribute: href attribute: href
@@ -153,11 +155,11 @@ search:
selector: td:nth-child(8) selector: td:nth-child(8)
downloadvolumefactor: downloadvolumefactor:
case: case:
img[src$="/freedownload.gif"]: "0" img[src$="/freedownload.gif"]: 0
img[src$="/silverdownload.gif"]: "0.5" img[src$="/silverdownload.gif"]: 0.5
"*": "1" "*": 1
uploadvolumefactor: uploadvolumefactor:
case: case:
img[src$="/x2.gif"]: "2" img[src$="/x2.gif"]: 2
"*": "1" "*": 1
# TS Special Edition v.7.5 # TS Special Edition v.7.5