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.

371 B
Raw Blame
import { register } from 'node:module';
import { pathToFileURL } from 'node:url';

// Identical to the guide's own hook file: this is the delivery mechanism the automatic instrumentation depends on,
// and the only reason this fixture exists as a separate preload is that ESM imports are hoisted.
register('@opentelemetry/instrumentation/hook.mjs', pathToFileURL('./'));