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.

931 B
Raw Blame
diff --git a/dist/config.js b/dist/config.js
index 373149f..000fbba 100644
--- a/dist/config.js
+++ b/dist/config.js
@@ -23,7 +23,7 @@ const core_1 = require("@sigstore/core");
 const sign_1 = require("@sigstore/sign");
 const verify_1 = require("@sigstore/verify");
 exports.DEFAULT_RETRY = { retries: 2 };
-exports.DEFAULT_TIMEOUT = 5000;
+exports.DEFAULT_TIMEOUT = 30000;
 function createBundleBuilder(bundleType, options) {
     const bundlerOptions = {
         signer: initSigner(options),
@@ -102,7 +102,7 @@ function initWitnesses(options) {
         witnesses.push(new sign_1.RekorWitness({
             rekorBaseURL: options.rekorURL,
             entryType: options.legacyCompatibility ? 'intoto' : 'dsse',
-            fetchOnConflict: false,
+            fetchOnConflict: true,
             retry: options.retry ?? exports.DEFAULT_RETRY,
             timeout: options.timeout ?? exports.DEFAULT_TIMEOUT,
         }));