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 socket connection

Ondra Urban27679339dd97
diff --git a/src/live_view/index.html b/src/live_view/index.html
index 3591d2538..5a0a34aa3 100644
--- a/src/live_view/index.html
+++ b/src/live_view/index.html
@@ -183,7 +183,7 @@
showSnapshot(window.lastSnapshot);
// When displayed in a separate window, connect immediately.
- if (isThisTopWindow()) liveViewSocket = connect();
+ if (isThisTopWindow()) connect();
$('#resumeButton').click((event) => {
event.preventDefault();