Skip to main content

GenericRedirectUrlProvider

Resolves the target URL from HTTP redirect responses.

Notes

Provides the resolved redirect URL when the crawler encounters HTTP redirect responses. Supports a configurable fallback character set for cases where the redirect location cannot be determined from response headers.

Usage

class: GenericRedirectUrlProvider
fallbackCharset: string

Properties

PropertyTypeRequiredDefault
fallbackCharsetstringNoUTF_8

Property Details

fallbackCharset

The character encoding to use when the redirect URL character set cannot be determined from the HTTP response headers. Default is UTF-8.