mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
torrentcore: add search error handling
This commit is contained in:
@@ -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"]
|
||||||
|
Reference in New Issue
Block a user