Skip to content

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

Update single_url.ts

Rafael Miller76160a38db8f
diff --git a/apps/api/src/scraper/WebScraper/single_url.ts b/apps/api/src/scraper/WebScraper/single_url.ts
index d844535b2..d5bdcffeb 100644
--- a/apps/api/src/scraper/WebScraper/single_url.ts
+++ b/apps/api/src/scraper/WebScraper/single_url.ts
@@ -23,7 +23,6 @@ import { clientSideError } from "../../strings";
dotenv.config();
-const useDatabaseAuth = process.env.USE_DB_AUTHENTICATION === "true";
const useScrapingBee = process.env.SCRAPING_BEE_API_KEY !== '' && process.env.SCRAPING_BEE_API_KEY !== undefined;
const useFireEngine = process.env.FIRE_ENGINE_BETA_URL !== '' && process.env.FIRE_ENGINE_BETA_URL !== undefined;
@@ -31,7 +30,7 @@ export const baseScrapers = [
useFireEngine ? "fire-engine" : undefined,
useFireEngine ? "fire-engine;chrome-cdp" : undefined,
useScrapingBee ? "scrapingBee" : undefined,
- useDatabaseAuth ? undefined : "playwright",
+ useFireEngine ? undefined : "playwright",
useScrapingBee ? "scrapingBeeLoad" : undefined,
"fetch",
].filter(Boolean);