Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

887 B
Raw Blame

Public API Report File for "@crawlee/impit-client"

Do not edit this file. It is a report generated by API Extractor.


import { BaseHttpClient } from '@crawlee/http-client';
import type { CrawleeLogger } from '@crawlee/types';
import type { CustomFetchOptions } from '@crawlee/http-client';
import { ImpitOptions } from 'impit';

// @public (undocumented)
export const Browser: {
    readonly Chrome: 'chrome';
    readonly Firefox: 'firefox';
};

// @public
export class ImpitHttpClient extends BaseHttpClient {
    constructor(options?: Omit<ImpitOptions, 'proxyUrl' | 'timeout'> & {
        cacheClients?: boolean;
        logger?: CrawleeLogger;
    });
    // (undocumented)
    protected fetch(request: Request, options?: RequestInit & CustomFetchOptions): Promise<Response>;
}

// (No @packageDocumentation comment for this package)