assorted: code tidy

This commit is contained in:
Garfield69 2020-10-02 15:16:06 +13:00
parent 7eaa2e36fa
commit c681b7aec3
3 changed files with 6 additions and 6 deletions

View File

@ -274,7 +274,7 @@ search:
selector: td[colspan="20"] > strong
filters:
- name: append
args: " -07:00" # PTZ
args: " -07:00" # PDT
- name: dateparse
args: "01-02-2006 -07:00"

View File

@ -119,7 +119,7 @@ search:
selector: td:nth-last-child(6)
filters:
- name: append
args: " -07:00" # PTZ
args: " -07:00" # PDT
- name: dateparse
args: "2006-01-0215:04:05 -07:00"
size:

View File

@ -317,15 +317,15 @@ search:
- path: files/
inputs:
$raw: "{{ range .Categories }}c{{.}}&{{end}}"
# 0 seeded 1 unseeded 2 both
# 0 seeded, 1 unseeded, 2 both
seeded: 2
# 0 all
quality: 0
# 0 Demonoid 1 External 2 Both
# 0 Demonoid, 1 External, 2 Both
external: 2
# search in titles only
to: "{{ if .Query.IMDBID }}{{else}}1{{end}}"
query: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
to: "{{ if .Query.IMDBID }}{{ else }}1{{ end }}"
query: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
sort: "{{ re_replace .Config.sort \"_\" \"\" }}"
# does not return imdb link in results