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 feat/sdk-without-ws
Thomas Kosmasa9d31c8e4287
diff --cc apps/js-sdk/firecrawl/src/index.tsindex 9e3a849fa,2772466c7..62d0398b3--- a/apps/js-sdk/firecrawl/src/index.ts+++ b/apps/js-sdk/firecrawl/src/index.ts@@@ -954,8 -939,7 +955,9 @@@ export class CrawlWatcher extends Typedconstructor(id: string, app: FirecrawlApp) {super();+ if(!WebSocket)+ throw new FirecrawlError("WebSocket module failed to load. Your system might not support WebSocket.", 500);+ this.id = id;this.ws = new WebSocket(`${app.apiUrl}/v1/crawl/${id}`, app.apiKey);this.status = "scraping";this.data = [];