torrentcore: trap service unavailable

This commit is contained in:
Garfield69 2024-04-24 06:07:26 +12:00
parent f8faa97b5f
commit 30383f4307
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ search:
- path: "{{ if .Keywords }}search?s={{ .Keywords }}{{ else }}index{{ end }}"
# search is an exact match, there are no wild cards, or +word or AND/OR, and spaces and dots are treated uniquely
error:
- selector: :root:contains("Service Unavailable")
- selector: :root:contains("Connection failed")
message:
text: "Connection failed: Connection refused"