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
Enable null storage name
Ondra Urbaneb17bd5879f1
diff --git a/src/dataset.js b/src/dataset.jsindex 90a1b6270..6e373d4bf 100644--- a/src/dataset.js+++ b/src/dataset.js@@ -410,7 +410,7 @@ export class Dataset {}).then(() => {datasetsCache.remove(this.datasetId);- datasetsCache.remove(this.datasetName);+ if (this.datasetName) datasetsCache.remove(this.datasetName);});}}diff --git a/src/key_value_store.js b/src/key_value_store.jsindex 1c02cfff8..27f459971 100644--- a/src/key_value_store.js+++ b/src/key_value_store.js@@ -281,7 +281,7 @@ export class KeyValueStore {}).then(() => {storesCache.remove(this.storeId);- storesCache.remove(this.storeName);+ if (this.storeName) storesCache.remove(this.storeName);});}}diff --git a/src/request_queue.js b/src/request_queue.jsindex d158cd905..1a2e59116 100644--- a/src/request_queue.js+++ b/src/request_queue.js@@ -518,7 +518,7 @@ export class RequestQueue {}).then(() => {queuesCache.remove(this.queueId);- queuesCache.remove(this.queueName);+ if (this.queueName) queuesCache.remove(this.queueName);});}}