12 lines
294 B
TypeScript
12 lines
294 B
TypeScript
import { PlaywrightCrawler, ProxyConfiguration } from 'crawlee';
|
|
|
|
const proxyConfiguration = new ProxyConfiguration({ /* opts */ });
|
|
|
|
const crawler = new PlaywrightCrawler({
|
|
proxyConfiguration,
|
|
async requestHandler({ proxyInfo }) {
|
|
console.log(proxyInfo);
|
|
},
|
|
// ...
|
|
});
|