chore: lint

This commit is contained in:
karishmas6
2024-08-07 18:19:48 +05:30
parent 3bd8a54258
commit 202ecf977b

View File

@@ -260,7 +260,7 @@ function scrapableHeuristics(maxCountPerPage = 50, minArea = 20000, scrolls = 3,
* @param {boolean} [config.flexible=false] - Whether to use flexible matching for field selectors
* @returns {Array.<Array.<Object>>} Array of arrays of scraped items, one sub-array per list
*/
window.scrapeList = function(config) {
window.scrapeList = function (config) {
const { listSelector, fields, limit, flexible = false } = config;
const lists = Array.from(document.querySelectorAll(listSelector));
@@ -311,6 +311,6 @@ window.scrapeList = function(config) {
return scrapedItem;
});
});
};
};
})(window);