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.

renamed session event

Petr Patek93dca07a34e0
diff --git a/src/session_pool/events.js b/src/session_pool/events.js
index 7d20af038..5893200db 100644
--- a/src/session_pool/events.js
+++ b/src/session_pool/events.js
@@ -1,3 +1,3 @@
export default {
- DISCARDED: 'discarded',
+ DISCARDED: 'sessionRetired',
};