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