Skip to content

Commit

Permalink
xwtclassic: add date TZ
Browse files Browse the repository at this point in the history
code tidy
  • Loading branch information
garfield69 committed Oct 24, 2020
1 parent fba6f1c commit a28e6c1
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/Jackett.Common/Definitions/xwtclassics.yml
Expand Up @@ -47,19 +47,19 @@ settings:
- name: sort
type: select
label: Sort requested from site
default: "4"
default: 4
options:
"4": "created"
"7": "seeders"
"5": "size"
"1": "title"
4: created
7: seeders
5: size
1: title
- name: type
type: select
label: Order requested from site
default: "desc"
default: desc
options:
"desc": "desc"
"asc": "asc"
desc: desc
asc: asc

login:
path: takelogin.php
Expand Down Expand Up @@ -107,7 +107,7 @@ search:
selector: a[href^="download2.php"]
attribute: href
download:
text: "{{if .Config.seedbox}}{{ .Result.download2 }}{{else}}{{ .Result.download1 }}{{end}}"
text: "{{if .Config.seedbox}}{{ .Result.download2 }}{{ else }}{{ .Result.download1 }}{{ end }}"
details:
selector: a[href^="details.php?id="]
attribute: href
Expand All @@ -127,8 +127,10 @@ search:
date:
selector: td:nth-child(5)
filters:
- name: append
args: " -07:00" # PDT
- name: dateparse
args: "2006-01-0215:04:05"
args: "2006-01-0215:04:05 -07:00"
downloadvolumefactor:
case:
img[src="pic/freeleech.png"]: 0
Expand Down

0 comments on commit a28e6c1

Please sign in to comment.