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
fixed missing import
Petr Patek45f3d7a4ecf7
diff --git a/src/crawlers/cheerio_crawler.js b/src/crawlers/cheerio_crawler.jsindex 1c2e3ba79..7de5e45ab 100644--- a/src/crawlers/cheerio_crawler.js+++ b/src/crawlers/cheerio_crawler.js@@ -11,7 +11,8 @@ import BasicCrawler from './basic_crawler';import { addTimeoutToPromise } from '../utils';import { getApifyProxyUrl } from '../actor';import { BASIC_CRAWLER_TIMEOUT_MULTIPLIER } from '../constants';-import { requestAsBrowser, TimeoutError } from '../utils_request';+import { requestAsBrowser } from '../utils_request';+import { TimeoutError } from '../errors';/*** Default mime types, which CheerioScraper supports.