11 lines
263 B
TypeScript
11 lines
263 B
TypeScript
import { PlaywrightCrawler, ProxyConfiguration } from 'crawlee';
|
|
|
|
const proxyConfiguration = new ProxyConfiguration({
|
|
proxyUrls: ['http://proxy-1.com', 'http://proxy-2.com'],
|
|
});
|
|
|
|
const crawler = new PlaywrightCrawler({
|
|
proxyConfiguration,
|
|
// ...
|
|
});
|