From 2938150c2851b75032f7003a477f9f82f995000c Mon Sep 17 00:00:00 2001 From: Rohit Date: Tue, 1 Apr 2025 18:21:14 +0530 Subject: [PATCH] feat: scrape before returning result click next --- maxun-core/src/interpret.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/maxun-core/src/interpret.ts b/maxun-core/src/interpret.ts index 94ec4f1d5..9cf1b76e7 100644 --- a/maxun-core/src/interpret.ts +++ b/maxun-core/src/interpret.ts @@ -817,6 +817,7 @@ export default class Interpreter extends EventEmitter { if (!paginationSuccess) { debugLog(`Pagination failed after ${MAX_RETRIES} attempts`); + await scrapeCurrentPage(); return allResults; }