assorted yml: code tidy

This commit is contained in:
Garfield69
2020-11-18 10:28:31 +13:00
parent 0c5647466a
commit 2fca6bf98d
11 changed files with 14 additions and 14 deletions

View File

@@ -79,7 +79,7 @@ login:
search:
paths:
- path: "{{if .Query.Keywords}}search.php{{ else }}torrentslist.php{{ end }}"
- path: "{{ if .Keywords }}search.php{{ else }}torrentslist.php{{ end }}"
inputs:
$raw: "{{ range .Categories }}type={{.}}&{{end}}"
textsearch: "{{ .Keywords }}"

View File

@@ -59,7 +59,7 @@ search:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid
# 0=incldead, 1=active, 2=dead
incldead: 0
# show promotions 0=all, 1=normal, 2=free, 3=2x, 4=2xfree, 5=50%, 6=2x50%, 7=30%

View File

@@ -90,7 +90,7 @@ search:
span.tv9: IMAGES
span.tv10: EBOOKS
span.tv12: AUDIOBOOK
"*": "OTHER" # some torrents have invalid categories
"*": OTHER # some torrents have invalid categories
title:
selector: td:nth-child(1) > div > a
details:
@@ -136,4 +136,4 @@ search:
text: 0
uploadvolumefactor:
text: 1
# Engine n/a
# engine n/a