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.

Fix missing var in LiveView

Ondra Urbanab4661d654b0
diff --git a/src/puppeteer_live_view_server.js b/src/puppeteer_live_view_server.js
index f904a4186..b41ecbc62 100644
--- a/src/puppeteer_live_view_server.js
+++ b/src/puppeteer_live_view_server.js
@@ -4,7 +4,7 @@ import Promise from 'bluebird';
import WebSocket from 'ws';
import log from 'apify-shared/log';
import { promisifyServerListen } from 'apify-shared/utilities';
-import { ENV_VARS } from 'apify-shared/consts';
+import { ENV_VARS, LOCAL_ENV_VARS } from 'apify-shared/consts';
import { checkParamOrThrow } from 'apify-client/build/utils';
import { layout, indexPage, detailPage, errorPage } from './puppeteer_live_view_client';