13 lines
273 B
TypeScript
13 lines
273 B
TypeScript
import { CheerioCrawler, ProxyConfiguration } from 'crawlee';
|
|
|
|
const proxyConfiguration = new ProxyConfiguration({
|
|
/* opts */
|
|
});
|
|
|
|
const crawler = new CheerioCrawler({
|
|
useSessionPool: true,
|
|
persistCookiesPerSession: true,
|
|
proxyConfiguration,
|
|
// ...
|
|
});
|