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.