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 v1.ts
Nicolasd817aa744f0c
diff --git a/apps/api/src/routes/v1.ts b/apps/api/src/routes/v1.tsindex e6055a99d..048e1efc6 100644--- a/apps/api/src/routes/v1.ts+++ b/apps/api/src/routes/v1.ts@@ -99,7 +99,7 @@ function idempotencyMiddleware(req: Request, res: Response, next: NextFunction)function blocklistMiddleware(req: Request, res: Response, next: NextFunction) {if (typeof req.body.url === "string" && isUrlBlocked(req.body.url)) {if (!res.headersSent) {- return res.status(403).json({ success: false, error: "URL is blocked. Firecrawl currently does not support social media scraping due to policy restrictions." });+ return res.status(403).json({ success: false, error: "URL is blocked intentionally. Firecrawl currently does not support social media scraping due to policy restrictions." });}}next();@@ -183,7 +183,6 @@ v1Router.post("/extract",authMiddleware(RateLimiterMode.Scrape),checkCreditsMiddleware(1),- blocklistMiddleware,wrap(extractController));