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
Nick: changed email from hello to help
Nicolasbd928b1512ff
diff --git a/apps/api/src/controllers/v0/crawl.ts b/apps/api/src/controllers/v0/crawl.tsindex fa7627da0..5de5eccf4 100644--- a/apps/api/src/controllers/v0/crawl.ts+++ b/apps/api/src/controllers/v0/crawl.ts@@ -75,7 +75,7 @@ export async function crawlController(req: Request, res: Response) {await checkTeamCredits(chunk, team_id, limitCheck);if (!creditsCheckSuccess) {- return res.status(402).json({ error: "Insufficient credits. You may be requesting with a higher limit than the amount of credits you have left. If not, upgrade your plan at https://firecrawl.dev/pricing or contact us at [email protected]" });+ return res.status(402).json({ error: "Insufficient credits. You may be requesting with a higher limit than the amount of credits you have left. If not, upgrade your plan at https://firecrawl.dev/pricing or contact us at [email protected]" });}// TODO: need to do this to v1diff --git a/apps/api/src/controllers/v0/scrape.ts b/apps/api/src/controllers/v0/scrape.tsindex 9bc41fc1c..02b9400e0 100644--- a/apps/api/src/controllers/v0/scrape.ts+++ b/apps/api/src/controllers/v0/scrape.ts@@ -209,7 +209,7 @@ export async function scrapeController(req: Request, res: Response) {earlyReturn = true;return res.status(500).json({error:- "Error checking team credits. Please contact [email protected] for help.",+ "Error checking team credits. Please contact [email protected] for help.",});}diff --git a/apps/api/src/controllers/v1/crawl-status-ws.ts b/apps/api/src/controllers/v1/crawl-status-ws.tsindex 18222edca..f552492ff 100644--- a/apps/api/src/controllers/v1/crawl-status-ws.ts+++ b/apps/api/src/controllers/v1/crawl-status-ws.ts@@ -175,7 +175,7 @@ export async function crawlStatusWSController(ws: WebSocket, req: RequestWithAutlogger.error("Error occurred in WebSocket! (" + req.path + ") -- ID " + id + " -- " + verbose);return close(ws, 1011, {type: "error",- error: "An unexpected error occurred. Please contact [email protected] for help. Your exception ID is " + id+ error: "An unexpected error occurred. Please contact [email protected] for help. Your exception ID is " + id});}}diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex 049b37a95..e32bf97f0 100644--- a/apps/api/src/index.ts+++ b/apps/api/src/index.ts@@ -207,7 +207,7 @@ app.use((err: unknown, req: Request<{}, ErrorResponse, undefined>, res: Response}logger.error("Error occurred in request! (" + req.path + ") -- ID " + id + " -- " + verbose);- res.status(500).json({ success: false, error: "An unexpected error occurred. Please contact [email protected] for help. Your exception ID is " + id });+ res.status(500).json({ success: false, error: "An unexpected error occurred. Please contact [email protected] for help. Your exception ID is " + id });});logger.info(`Worker ${process.pid} started`);diff --git a/apps/api/src/services/notification/email_notification.ts b/apps/api/src/services/notification/email_notification.tsindex e451e0c08..e4575b32b 100644--- a/apps/api/src/services/notification/email_notification.ts+++ b/apps/api/src/services/notification/email_notification.ts@@ -23,7 +23,7 @@ const emailTemplates: Record<},[NotificationType.RATE_LIMIT_REACHED]: {subject: "Rate Limit Reached - Firecrawl",- html: "Hey there,<br/><p>You've hit one of the Firecrawl endpoint's rate limit! Take a breather and try again in a few moments. If you need higher rate limits, consider upgrading your plan. Check out our <a href='https://firecrawl.dev/pricing'>pricing page</a> for more info.</p><p>If you have any questions, feel free to reach out to us at <a href='mailto:[email protected]'>[email protected]</a></p><br/>Thanks,<br/>Firecrawl Team<br/><br/>Ps. this email is only sent once every 7 days if you reach a rate limit.",+ html: "Hey there,<br/><p>You've hit one of the Firecrawl endpoint's rate limit! Take a breather and try again in a few moments. If you need higher rate limits, consider upgrading your plan. Check out our <a href='https://firecrawl.dev/pricing'>pricing page</a> for more info.</p><p>If you have any questions, feel free to reach out to us at <a href='mailto:[email protected]'>[email protected]</a></p><br/>Thanks,<br/>Firecrawl Team<br/><br/>Ps. this email is only sent once every 7 days if you reach a rate limit.",},[NotificationType.AUTO_RECHARGE_SUCCESS]: {subject: "Auto recharge successful - Firecrawl",@@ -31,7 +31,7 @@ const emailTemplates: Record<},[NotificationType.AUTO_RECHARGE_FAILED]: {subject: "Auto recharge failed - Firecrawl",- html: "Hey there,<br/><p>Your auto recharge failed. Please try again manually. If the issue persists, please reach out to us at <a href='mailto:[email protected]'>[email protected]</a></p><br/>Thanks,<br/>Firecrawl Team<br/>",+ html: "Hey there,<br/><p>Your auto recharge failed. Please try again manually. If the issue persists, please reach out to us at <a href='mailto:[email protected]'>[email protected]</a></p><br/>Thanks,<br/>Firecrawl Team<br/>",},};@@ -63,7 +63,7 @@ export async function sendEmailNotification(const { data, error } = await resend.emails.send({from: "Firecrawl <[email protected]>",to: [email],- reply_to: "[email protected]",+ reply_to: "[email protected]",subject: emailTemplates[notificationType].subject,html: emailTemplates[notificationType].html,});diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.tsindex 33b2ca9ad..54841061b 100644--- a/apps/api/src/services/queue-worker.ts+++ b/apps/api/src/services/queue-worker.ts@@ -262,7 +262,7 @@ async function processJob(job: Job & { id: string }, token: string) {document: null,project_id: job.data.project_id,error:- "URL is blocked. Suspecious activity detected. Please contact [email protected] if you believe this is an error.",+ "URL is blocked. Suspecious activity detected. Please contact [email protected] if you believe this is an error.",};return data;}