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
Merge branch 'main' into patch-1
Ikko Eltociear Ashiminee91c122c69dc
diff --cc apps/api/src/scraper/WebScraper/index.tsindex efbdc6a99,7ef0a1002..10a5645e8--- a/apps/api/src/scraper/WebScraper/index.ts+++ b/apps/api/src/scraper/WebScraper/index.ts@@@ -350,9 -392,10 +392,10 @@@ export class WebScraperDataProviderthis.limit = options.crawlerOptions?.limit ?? 10000;this.generateImgAltText =options.crawlerOptions?.generateImgAltText ?? false;- this.pageOptions = options.pageOptions ?? {onlyMainContent: false};-+ this.pageOptions = options.pageOptions ?? { onlyMainContent: false, includeHtml: false };+ this.extractorOptions = options.extractorOptions ?? {mode: "markdown"}+ this.replaceAllPathsWithAbsolutePaths = options.crawlerOptions?.replaceAllPathsWithAbsolutePaths ?? false;- //! @nicolas, for some reason this was being injected and breakign everything. Don't have time to find source of the issue so adding this check+ //! @nicolas, for some reason this was being injected and breaking everything. Don't have time to find source of the issue so adding this checkthis.excludes = this.excludes.filter((item) => item !== "");// make sure all urls start with https://