Skip to content

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

Merge branch 'main' into llm-extraction

Nicolasb69feab9160e
diff --cc apps/api/src/scraper/WebScraper/single_url.ts
index 80d7fa2a3,ff73e9548..af215ce8a
--- a/apps/api/src/scraper/WebScraper/single_url.ts
+++ b/apps/api/src/scraper/WebScraper/single_url.ts
@@@ -140,10 -170,8 +170,10 @@@ export async function scrapSingleUrl
}
break;
}
+
+ //* TODO: add an optional to return markdown or structured/extracted content
let cleanedHtml = removeUnwantedElements(text, pageOptions);
-
+
return [await parseMarkdown(cleanedHtml), text];
};