From 942981e1ea14a5be5d49dd6be4adc2c5abb9c163 Mon Sep 17 00:00:00 2001 From: RohitR311 Date: Tue, 3 Dec 2024 22:44:45 +0530 Subject: [PATCH] feat: add or array empty condition for scrapeSchema --- maxun-core/src/browserSide/scraper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxun-core/src/browserSide/scraper.js b/maxun-core/src/browserSide/scraper.js index 828a4f84..369a08be 100644 --- a/maxun-core/src/browserSide/scraper.js +++ b/maxun-core/src/browserSide/scraper.js @@ -249,7 +249,7 @@ function scrapableHeuristics(maxCountPerPage = 50, minArea = 20000, scrolls = 3, } }, (key) => key // Use the original key in the output - )); + )) || []; } /**