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:
parent
d502ef616e
commit
467c1d81e0
1 changed files with 5 additions and 0 deletions
|
@ -64,6 +64,11 @@ search:
|
|||
paths:
|
||||
- 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("Connection failed")
|
||||
message:
|
||||
text: "Connection failed: Connection refused"
|
||||
- selector: :root:contains("[Anti-DDoS]")
|
||||
|
||||
rows:
|
||||
selector: div.content font[color="purple"], div.content font[color="orange"]:has(a), div.content font[color="gray"], div.content font[color="white"]
|
||||
|
|
Loading…
Reference in a new issue