Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

default onlyMainContent=false for extract

rafaelmmillerc1a2981d5947
diff --git a/apps/api/src/lib/extract/document-scraper.ts b/apps/api/src/lib/extract/document-scraper.ts
index a5257f0b5..cc084ee4f 100644
--- a/apps/api/src/lib/extract/document-scraper.ts
+++ b/apps/api/src/lib/extract/document-scraper.ts
@@ -40,7 +40,7 @@ export async function scrapeDocument(
url: options.url,
mode: "single_urls",
team_id: options.teamId,
- scrapeOptions: scrapeOptions.parse({}),
+ scrapeOptions: scrapeOptions.parse({ onlyMainContent: false }),
internalOptions: {
useCache: true,
},