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
Update single_url.ts
rafaelsideguide1fc3a1514976
diff --git a/apps/api/src/scraper/WebScraper/single_url.ts b/apps/api/src/scraper/WebScraper/single_url.tsindex c7f9469ce..567a329c8 100644--- a/apps/api/src/scraper/WebScraper/single_url.ts+++ b/apps/api/src/scraper/WebScraper/single_url.ts@@ -282,8 +282,8 @@ export async function scrapSingleUrl(// Check for custom scraping conditionsconst customScrapedContent = await handleCustomScraping(text, url);if (customScrapedContent) {- text = customScrapedContent[0];- screenshot = customScrapedContent[1];+ text = customScrapedContent.html;+ screenshot = customScrapedContent.screenshot;}//* TODO: add an optional to return markdown or structured/extracted content