From 64a4338ff06e302ec80d6313d9886144f60bac43 Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:40:05 -0300 Subject: [PATCH] Update single_url.ts --- apps/api/src/scraper/WebScraper/single_url.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/scraper/WebScraper/single_url.ts b/apps/api/src/scraper/WebScraper/single_url.ts index a99b365..490d74e 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) {