Merge branch 'develop' into shadow-dom

This commit is contained in:
Rohit
2025-01-02 20:10:10 +05:30
committed by GitHub
16 changed files with 318 additions and 144 deletions

View File

@@ -705,14 +705,14 @@ function scrapableHeuristics(maxCountPerPage = 50, minArea = 20000, scrolls = 3,
if (Object.keys(record).length > 0) {
nonTableData.push(record);
}
}
}
}
// Merge and limit the results
const scrapedData = [...tableData, ...nonTableData];
return scrapedData;
};
/**
* Gets all children of the elements matching the listSelector,
* returning their CSS selectors and innerText.