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
Fix typos
Viktor Szépe34ab21db5964
diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex 7198988ef..476eeb301 100644--- a/apps/api/src/index.ts+++ b/apps/api/src/index.ts@@ -129,15 +129,15 @@ app.post("/v0/scrape", async (req, res) => {filteredDocs.length);if (!success) {- // throw new Error("Failed to bill team, no subscribtion was found");+ // throw new Error("Failed to bill team, no subscription was found");// return {// success: false,- // message: "Failed to bill team, no subscribtion was found",+ // message: "Failed to bill team, no subscription was found",// docs: [],// };return res.status(402)- .json({ error: "Failed to bill, no subscribtion was found" });+ .json({ error: "Failed to bill, no subscription was found" });}return res.json({success: true,diff --git a/apps/api/src/main/runWebScraper.ts b/apps/api/src/main/runWebScraper.tsindex 9798297b0..762e15366 100644--- a/apps/api/src/main/runWebScraper.ts+++ b/apps/api/src/main/runWebScraper.ts@@ -79,10 +79,10 @@ export async function runWebScraper({filteredDocs.length);if (!success) {- // throw new Error("Failed to bill team, no subscribtion was found");+ // throw new Error("Failed to bill team, no subscription was found");return {success: false,- message: "Failed to bill team, no subscribtion was found",+ message: "Failed to bill team, no subscription was found",docs: [],};}diff --git a/apps/api/src/services/rate-limiter.ts b/apps/api/src/services/rate-limiter.tsindex a12e6d8ae..8e2fe3b72 100644--- a/apps/api/src/services/rate-limiter.ts+++ b/apps/api/src/services/rate-limiter.ts@@ -3,7 +3,7 @@ import * as redis from "redis";const MAX_REQUESTS_PER_MINUTE_PREVIEW = 5;const MAX_CRAWLS_PER_MINUTE_STARTER = 2;-const MAX_CRAWLS_PER_MINUTE_STANDAR = 4;+const MAX_CRAWLS_PER_MINUTE_STANDARD = 4;const MAX_CRAWLS_PER_MINUTE_SCALE = 20;const MAX_REQUESTS_PER_MINUTE_ACCOUNT = 40;@@ -35,7 +35,7 @@ export function crawlRateLimit(plan: string){return new RateLimiterRedis({storeClient: redisClient,keyPrefix: "middleware",- points: MAX_CRAWLS_PER_MINUTE_STANDAR,+ points: MAX_CRAWLS_PER_MINUTE_STANDARD,duration: 60, // Duration in seconds});}else if(plan === "scale"){diff --git a/apps/playwright-service/.gitignore b/apps/playwright-service/.gitignoreindex d9005f2cc..de2d5e086 100644--- a/apps/playwright-service/.gitignore+++ b/apps/playwright-service/.gitignore@@ -145,7 +145,7 @@ dmypy.jsoncython_debug/# PyCharm-# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can+# JetBrains specific template is maintained in a separate JetBrains.gitignore that can# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore# and can be added to the global gitignore or merged into this file. For a more nuclear# option (not recommended) you can uncomment the following to ignore the entire idea folder.