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
Fix false positives on test (it should fail on CI for now)
Ondra Urban50cf26fe0e81
diff --git a/test/key_value_store.js b/test/key_value_store.jsindex fd3e823cd..6c4569ded 100644--- a/test/key_value_store.js+++ b/test/key_value_store.js@@ -278,9 +278,9 @@ describe('KeyValueStore', () => {for (const char of INVALID_CHARACTERS) { // eslint-disable-linetry {- await store.setValue(`my_id_${char}`);- } catch (e) {- counter++;+ await store.setValue(`my_id_${char}`, 'value');+ } catch (err) {+ if (err.message.match('The "key" parameter may contain only the following characters')) counter++;}}