chore: remove comment
This commit is contained in:
@@ -97,7 +97,6 @@ function scrapableHeuristics(maxCountPerPage = 50, minArea = 20000, scrolls = 3,
|
|||||||
metric = (1 - (Math.max(...sizes) - Math.min(...sizes)) / Math.max(...sizes));
|
metric = (1 - (Math.max(...sizes) - Math.min(...sizes)) / Math.max(...sizes));
|
||||||
}
|
}
|
||||||
|
|
||||||
// console.debug(`Total ${metricType} is ${metric}.`)
|
|
||||||
if (metric > maxSelector.metric && elements.length < maxCountPerPage) {
|
if (metric > maxSelector.metric && elements.length < maxCountPerPage) {
|
||||||
maxSelector = { selector, metric };
|
maxSelector = { selector, metric };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user