mirror of
https://github.com/Jackett/Jackett.git
synced 2026-10-31 11:12:17 +08:00
Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
3.4 KiB
3.4 KiB
ErrorBlock Schema
Cardigann#/definitions/ErrorBlock
Selector that detects an error on a login or search response. If it matches, the request is treated as failed.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | schema.json* |
ErrorBlock Type
object (ErrorBlock)
ErrorBlock Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| path | string |
Optional | cannot be null | Cardigann indexer definition |
| selector | string |
Required | cannot be null | Cardigann indexer definition |
| message | Merged | Optional | cannot be null | Cardigann indexer definition |
path
Only check responses from this path.
path
-
is optional
-
Type:
string(Path) -
cannot be null
-
defined in: Cardigann indexer definition
path Type
string (Path)
selector
If this selector matches, the request failed.
selector
-
is required
-
Type:
string(Selector) -
cannot be null
-
defined in: Cardigann indexer definition
selector Type
string (Selector)
message
Extracts a value from a response using a CSS selector (HTML) or path (JSON/XML), then applies case, remove and filters.
message
-
is optional
-
Type:
object(SelectorBlock) -
cannot be null
-
defined in: Cardigann indexer definition
message Type
object (SelectorBlock)
all of