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
Update key_value_store.js
Marek Trunkát9f7490e9e883
diff --git a/test/key_value_store.js b/test/key_value_store.jsindex 383cf647d..fa691b15b 100644--- a/test/key_value_store.js+++ b/test/key_value_store.js@@ -107,7 +107,7 @@ describe('KeyValueStore', () => {describe('remote', async () => {it('works', async () => {- const store = new KeyValueStore('some-id-1', 'some-name-1');+ const store = new KeyValueStore('some-id-1');const mock = sinon.mock(apifyClient.keyValueStores);const record = { foo: 'bar' };const recordStr = JSON.stringify(record, null, 2);@@ -276,7 +276,7 @@ describe('KeyValueStore', () => {});it('correctly adds charset to content type', async () => {- const store = new KeyValueStore('some-id-1', 'some-name-1');+ const store = new KeyValueStore('some-id-1');const mock = sinon.mock(apifyClient.keyValueStores);mock.expects('putRecord')