Files
2026-07-13 13:23:39 +08:00

14 lines
348 B
TypeScript

import { CheerioCrawler } from 'crawlee';
import { ImpitHttpClient } from '@crawlee/impit-client';
const crawler = new CheerioCrawler({
httpClient: new ImpitHttpClient({
// Set-up options for the impit library
ignoreTlsErrors: true,
browser: 'firefox',
}),
async requestHandler() {
/* ... */
},
});