@crawlee/types
Index
Scaling
Other
- CrawleeLogger
- CrawleeLoggerOptions
- IBrowserPool
- NewPageOptions
- StorageBackend
- StorageIdentifier
- BaseHttpClient
- BatchAddRequestsResult
- BrowserLikeResponse
- Cookie
- CookieJar
- CookieJarGetCookiesOptions
- CookieJarSetCookieOptions
- DatasetBackend
- DatasetBackendListOptions
- DatasetInfo
- HttpRequest
- HttpRequestOptions
- KeyValueStoreBackend
- KeyValueStoreInfo
- KeyValueStoreInputRecord
- KeyValueStoreItemData
- KeyValueStoreListKeysOptions
- KeyValueStoreListKeysResult
- KeyValueStoreRecord
- PageState
- PaginatedList
- ProcessedRequest
- ProxyInfo
- QueueOperationInfo
- RequestQueueBackend
- RequestQueueInfo
- RequestQueueOperationOptions
- RequestSchema
- SendRequestOptions
- SerializedCookieJar
- SessionCookie
- SessionFingerprint
- SessionState
- SetStatusMessageOptions
- StreamOptions
- UnprocessedRequest
- UpdateRequestSchema
- AllowedHttpMethods
- Dictionary
- KeyValueStoreRecordInputValue
- RedirectHandler
- SearchParams
Other
CrawleeLogger
Re-exports CrawleeLogger
CrawleeLoggerOptions
Re-exports CrawleeLoggerOptions
IBrowserPool
Re-exports IBrowserPool
NewPageOptions
Re-exports NewPageOptions
StorageBackend
Re-exports StorageBackend
StorageIdentifier
Re-exports StorageIdentifier
AllowedHttpMethods
Dictionary
Type parameters
- T = any
KeyValueStoreRecordInputValue
RedirectHandler
Type of a function called when an HTTP redirect takes place. It is allowed to mutate the updatedRequest argument.
Type declaration
Parameters
redirectResponse: Response
updatedRequest: { headers: Headers; url?: string | URL }
headers: Headers
optionalurl: string | URL
Returns void
The value a serialized record carries on the way into a storage backend (
setValue).The
KeyValueStorefrontend has already serialized by this point, so it is a pre-serialized string, raw bytes (Buffer/ArrayBuffer/ typed array), or a stream the client drains.