Files
Jackett/docs/schema-definitions-rowsblock.md

11 KiB

RowsBlock Schema

Cardigann#/definitions/RowsBlock

Selects the result rows. Each row is then parsed with the fields block.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Forbidden none schema.json*

RowsBlock Type

object (RowsBlock)

RowsBlock Properties

Property Type Required Nullable Defined by
after integer Optional cannot be null Cardigann indexer definition
dateheaders Merged Optional cannot be null Cardigann indexer definition
selector string Optional cannot be null Cardigann indexer definition
attribute string Optional cannot be null Cardigann indexer definition
optional boolean Optional cannot be null Cardigann indexer definition
multiple boolean Optional cannot be null Cardigann indexer definition
missingAttributeEqualsNoResults boolean Optional cannot be null Cardigann indexer definition
case object Optional cannot be null Cardigann indexer definition
remove string Optional cannot be null Cardigann indexer definition
text Merged Optional cannot be null Cardigann indexer definition
filters array Optional cannot be null Cardigann indexer definition
count Merged Optional cannot be null Cardigann indexer definition

after

Row merging. Merge this many following elements into each row, for sites that use several elements per torrent (for example, collapsed rows).

after

after Type

integer (After)

dateheaders

Extracts a value from a response using a CSS selector (HTML) or path (JSON/XML), then applies case, remove and filters.

dateheaders

dateheaders Type

object (SelectorBlock)

all of

selector

Selector for the result rows. For JSON, $ refers to the root object.

selector

selector Type

string (Selector)

attribute

JSON/XML only. Sub-element holding the torrents, when they are nested in each row.

attribute

attribute Type

string (Attribute)

optional

Do not fail if the selector does not match.

optional

optional Type

boolean (Optional)

multiple

JSON/XML only. Each row holds several torrents (for example, one title with several releases).

multiple

multiple Type

boolean (Multiple)

missingAttributeEqualsNoResults

JSON/XML only. Return zero results instead of an error when attribute is missing.

missingAttributeEqualsNoResults

missingAttributeEqualsNoResults Type

boolean (Missing attribute equals no results)

case

Selector: value pairs. The value of the first matching selector is used.

case

case Type

object (Case (RowsBlock))

remove

Selector for elements to remove from each row.

remove

remove Type

string (Remove)

text

Fixed value, or a template.

text

text Type

merged type (Text)

one (and only one) of

filters

Row filters, for example, andmatch or strdump.

filters

filters Type

object[] (RowFilterBlock)

count

Extracts a value from a response using a CSS selector (HTML) or path (JSON/XML), then applies case, remove and filters.

count

count Type

object (SelectorBlock)

all of