Skip to content

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

Add additional file extensions to crawler.ts

tractorjuicea5d38039f2d5
diff --git a/apps/api/src/scraper/WebScraper/crawler.ts b/apps/api/src/scraper/WebScraper/crawler.ts
index 23cb62931..3c7aefa47 100644
--- a/apps/api/src/scraper/WebScraper/crawler.ts
+++ b/apps/api/src/scraper/WebScraper/crawler.ts
@@ -267,6 +267,13 @@ export class WebCrawler {
".docx",
".xlsx",
".xml",
+ ".pptx",
+ ".avi",
+ ".flv",
+ ".woff",
+ ".ttf",
+ ".woff2",
+ ".webp",
];
return fileExtensions.some((ext) => url.endsWith(ext));
}