Impit part of Crawlee
Will Impit become a part of Crawlee and replace GotScraping?
@crawlee/impit-client and passing the new ImpitHttpClient() as the httpClient crawler constructor option.@crawlee/impit-clientnew ImpitHttpClient()httpClientimport { ImpitHttpClient } from '@crawlee/impit-client';
import { CheerioCrawler } from 'crawlee';
const crawler = new CheerioCrawler({
// Pass the ImpitHttpClient as the httpClient option
httpClient: new ImpitHttpClient({
// Optional: you can specify browser impersonation
// browser: 'chrome', // or 'firefox'
}),
// ... your other options
proxyConfiguration,
maxConcurrency,
requestHandler: router,
// etc.
});