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 pull request #27 from eltociear/patch-1
Nicolas2ba743fb1a44
diff --cc apps/api/src/scraper/WebScraper/index.tsindex c95e8898e,10a5645e8..0fa7e2ec0--- a/apps/api/src/scraper/WebScraper/index.ts+++ b/apps/api/src/scraper/WebScraper/index.ts@@@ -414,9 -395,8 +414,9 @@@ export class WebScraperDataProviderthis.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 !== "");+ this.crawlerMode = options.crawlerOptions?.mode ?? "default";// make sure all urls start with https://this.urls = this.urls.map((url) => {