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