1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-08 21:06:25 +00:00

zelkaorg: fix date parsing

add date TZ
code tidy
This commit is contained in:
Garfield69 2020-10-24 21:54:21 +13:00
parent 19b765bdf9
commit d87d3e7bed

View file

@ -89,10 +89,12 @@ search:
- path: browse.php - path: browse.php
inputs: inputs:
$raw: "{{range .Categories}}cat{{.}}=1&{{end}}" $raw: "{{range .Categories}}cat{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}" search: "{{ .Keywords }}"
incldead: 1 incldead: 1
rows: rows:
selector: .test > tbody > tr:has(a[href^="browse.php"]) selector: .test > tbody > tr:has(a[href^="browse.php"])
fields: fields:
title: title:
selector: a:has(img[src$="/pic/download.gif"]) selector: a:has(img[src$="/pic/download.gif"])
@ -124,10 +126,13 @@ search:
size: size:
selector: td:nth-child(6) selector: td:nth-child(6)
date: date:
# 2020-10-2411:18:30
selector: td:nth-child(5) selector: td:nth-child(5)
filters: filters:
- name: regexp - name: append
args: ([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])) args: " +02:00" # EET
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
seeders: seeders:
selector: td:nth-child(8) selector: td:nth-child(8)
leechers: leechers:
@ -141,6 +146,7 @@ search:
downloadvolumefactor: downloadvolumefactor:
case: case:
"a[style=\"color: #b9a100;\"][href^=\"details.php?\"]": "0" "a[style=\"color: #b9a100;\"][href^=\"details.php?\"]": "0"
"*": "1" *: 1
uploadvolumefactor: uploadvolumefactor:
text: "1" text: 1
# engine tbd