Skip to content

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

Update single_url.ts

rafaelsideguide64a4338ff06e
diff --git a/apps/api/src/scraper/WebScraper/single_url.ts b/apps/api/src/scraper/WebScraper/single_url.ts
index a99b36501..490d74e98 100644
--- a/apps/api/src/scraper/WebScraper/single_url.ts
+++ b/apps/api/src/scraper/WebScraper/single_url.ts
@@ -143,7 +143,7 @@ export async function scrapWithPlaywright(
headers: {
"Content-Type": "application/json",
},
- body: JSON.stringify({ url: url, wait: waitParam, headers: headers }),
+ body: JSON.stringify({ url: url, wait_after_load: waitParam, headers: headers }),
});
if (!response.ok) {