Skip to content

Instantly share code, notes, and snippets.

import { ImpitHttpClient } from '@crawlee/impit-client';
import { ProxyConfiguration } from 'apify';
import { CookieJar } from 'tough-cookie';
const TEST_URL = 'https://tripadvisor.com';
async function getProxyUrl(): Promise<string | undefined> {
if (!process.env.APIFY_PROXY_PASSWORD) {
return undefined;
}