dark-shadow: tidy code

This commit is contained in:
Garfield69 2020-10-02 11:10:51 +13:00
parent a75426a876
commit 5673eeab97
1 changed files with 5 additions and 5 deletions

View File

@ -124,18 +124,18 @@ login:
download:
before:
path: ajax_det_poll.php
method: "post"
method: post
inputs:
set_thanks: "thanks"
set_thanks: thanks
det_id: "{{ .DownloadUri.Query.torrent }}"
ajax: "yes"
ajax: yes
search:
paths:
- path: selection.php
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 name, 1 descr, 2 both, 4 imdb
blah: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
orderby: "{{ .Config.sort }}"
@ -283,4 +283,4 @@ search:
minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800
# Engine tbd
# Engine n/a