Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix(scrapeURL): increase timeToRun
Gergő Móricz654d6c6e0b12
diff --git a/apps/api/src/scraper/scrapeURL/index.ts b/apps/api/src/scraper/scrapeURL/index.tsindex 800457a86..93bdb71b3 100644--- a/apps/api/src/scraper/scrapeURL/index.ts+++ b/apps/api/src/scraper/scrapeURL/index.ts@@ -204,7 +204,7 @@ async function scrapeURLLoop(meta: Meta): Promise<ScrapeUrlResponse> {let result: EngineScrapeResultWithContext | null = null;const timeToRun = meta.options.timeout !== undefined- ? Math.round(meta.options.timeout / Math.min(fallbackList.length, 3))+ ? Math.round(meta.options.timeout / Math.min(fallbackList.length, 2)): undefinedfor (const { engine, unsupportedFeatures } of fallbackList) {