GotScrapingHttpClient
Hierarchy
- BaseHttpClient
- GotScrapingHttpClient
Index
Constructors
Methods
Constructors
constructor
Parameters
optionaloptions: { logger?: CrawleeLogger }
optionallogger: CrawleeLogger
Returns GotScrapingHttpClient
Methods
fetch
Perform the raw network request and return a single Response without any automatic redirect following or special error handling.
Parameters
request: Request
optionaloptions: RequestInit & CustomFetchOptions
Returns Promise<Response>
inheritedsendRequest
Public fetch-like method that handles redirects and uses provided proxy and cookie jar.
Parameters
initialRequest: Request
optionaloptions: SendRequestOptions
Returns Promise<Response>
A HTTP client implementation based on the
got-scrapinglibrary.