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.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
export type Dictionary<T = any> = Record<PropertyKey, T>;
export type Constructor<T = unknown> = new (...args: any[]) => T;
export type Awaitable<T> = T | PromiseLike<T>;
export type AllowedHttpMethods =
| 'GET'
| 'HEAD'
| 'POST'
| 'PUT'
| 'DELETE'
| 'TRACE'
| 'OPTIONS'
| 'CONNECT'
| 'PATCH'
| 'get'
| 'head'
| 'post'
| 'put'
| 'delete'
| 'trace'
| 'options'
| 'connect'
| 'patch';