inndx/
GitHub

Resolvers

Pipeline components that resolve referenced asset URLs for downloading.

Resolvers locate assets referenced by a page (such as images) so they can be downloaded. They are used by the asset_resolver step. This page catalogs the available kinds and their parameters.

How resolvers are configured

An asset_resolver step holds a list of resolvers and the settings that control how the resolved assets are downloaded. Each entry in resolvers is an object with a kind and a params object.

FieldTypeRequiredDefaultDescription
resolverslist of resolversnoemptyThe resolvers that locate asset URLs.
concurrencyintegerno10How many assets to download in parallel.
chunk_sizeintegerno1048576The download chunk size in bytes.
max_retriesintegerno3The maximum retry attempts for a failed asset download.
timeoutdurationno10sThe per-asset download timeout.
steps:
  - kind: asset_resolver
    params:
      concurrency: 4
      timeout: 10s
      max_retries: 3
      resolvers:
        - kind: xpath
          params:
            xpaths:
              - //body/img/@src
            max_items: 3

xpath

Resolves asset URLs from the page using XPath expressions.

FieldTypeRequiredDefaultDescription
xpathslist of stringsnoemptyXPath expressions selecting asset URLs. At least one is required when the list is set.
max_itemsintegerno5The maximum number of assets to resolve per page.
resolvers:
  - kind: xpath
    params:
      xpaths:
        - //body/img/@src
      max_items: 3

Search docs

Search the Self-host documentation