1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-01 12:21:35 +00:00

torrentcore: add search error handling

This commit is contained in:
Garfield69 2024-04-23 06:21:29 +12:00
parent d502ef616e
commit 467c1d81e0

View file

@ -64,6 +64,11 @@ search:
paths: paths:
- path: "{{ if .Keywords }}search?s={{ .Keywords }}{{ else }}index{{ end }}" - 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 # 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("Connection failed")
message:
text: "Connection failed: Connection refused"
- selector: :root:contains("[Anti-DDoS]")
rows: rows:
selector: div.content font[color="purple"], div.content font[color="orange"]:has(a), div.content font[color="gray"], div.content font[color="white"] selector: div.content font[color="purple"], div.content font[color="orange"]:has(a), div.content font[color="gray"], div.content font[color="white"]