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.

Merge branch 'master' into feature/session-pool-basic-crawler

Petr Patek35a2c5532ef9
diff --cc test/key_value_store.js
index 45bf819a6,e93c85fba..7aa094958
--- a/test/key_value_store.js
+++ b/test/key_value_store.js
@@@ -499,8 -499,9 +499,9 @@@ describe('KeyValueStore', () =>
it('should work', async () => {
process.env[ENV_VARS.LOCAL_STORAGE_DIR] = LOCAL_STORAGE_DIR;
const defaultStore = await Apify.openKeyValueStore();
-
+ const oldGet = defaultStore.getValue;
// Uses default value.
+ const oldGet = defaultStore.getValue;
defaultStore.getValue = async key => expect(key).to.be.eql(KEY_VALUE_STORE_KEYS.INPUT);
await Apify.getInput();