glodls: allowemptyinputs prevents http 500 internal server error

This commit is contained in:
Garfield69
2024-09-10 06:08:11 +12:00
parent ff67c6ec3f
commit ae976fba58

View File

@@ -85,6 +85,7 @@ search:
paths:
# https://glodls.to/search_results.php?c1=1&c72=1&c41=1&search=blacklist+s07e05&cat=0&incldead=1&inclexternal=0&lang=0&sort=id&order=desc
- path: search_results.php
allowEmptyInputs: true
inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"