52bt: trap search internal server error

This commit is contained in:
Garfield69 2024-05-20 05:57:34 +12:00
parent 4bbc793295
commit a965e6984c
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ settings:
search:
paths:
- path: "search-{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}-{{ .Config.cat-id }}-{{ .Config.sort }}-1.html"
error:
- selector: :root:contains("Internal Server Error")
rows:
selector: div.ssbox