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.

Updated error messages

Jan Curn655b61bacd40
diff --git a/src/request_list.js b/src/request_list.js
index 12ac232fe..0e2c2893e 100644
--- a/src/request_list.js
+++ b/src/request_list.js
@@ -542,7 +542,7 @@ export class RequestList {
*/
_ensureIsInitialized() {
if (!this.isInitialized) {
- throw new Error('RequestList is not initialized. You must call "await requestList.initialize();" before using it!');
+ throw new Error('RequestList is not initialized; you must call "await requestList.initialize()" before using it!');
}
}