Files
apify--crawlee/docs/guides/proxy_management_session_jsdom.ts
2026-07-13 13:23:39 +08:00

13 lines
269 B
TypeScript

import { JSDOMCrawler, ProxyConfiguration } from 'crawlee';
const proxyConfiguration = new ProxyConfiguration({
/* opts */
});
const crawler = new JSDOMCrawler({
useSessionPool: true,
persistCookiesPerSession: true,
proxyConfiguration,
// ...
});