Skip to content

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

Update scrape.ts

Nicolas06b8d24a4cc3
diff --git a/apps/api/src/controllers/v1/scrape.ts b/apps/api/src/controllers/v1/scrape.ts
index 6da489993..d0d4c5fc6 100644
--- a/apps/api/src/controllers/v1/scrape.ts
+++ b/apps/api/src/controllers/v1/scrape.ts
@@ -139,7 +139,7 @@ export async function scrapeController(
crawlerOptions: {},
pageOptions: pageOptions,
origin: origin,
- extractor_options: { mode: "markdown" },
+ extractor_options: extractorOptions,
num_tokens: numTokens,
});