Skip to content

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

fix(scraper): run removeBase64Images before deriveDiff in transformer pipeline (#3281)

firecrawl-spring[bot]dc7b21cdd979
diff --git a/apps/api/src/scraper/scrapeURL/transformers/index.ts b/apps/api/src/scraper/scrapeURL/transformers/index.ts
index 93d14e9a0..8fff21dbb 100644
--- a/apps/api/src/scraper/scrapeURL/transformers/index.ts
+++ b/apps/api/src/scraper/scrapeURL/transformers/index.ts
@@ -531,10 +531,10 @@ const transformerStack: Transformer[] = [
performQuery,
performAttributes,
performAgent,
+ removeBase64Images,
deriveDiff,
fetchAudio,
coerceFieldsToFormats,
- removeBase64Images,
];
export async function executeTransformers(