chore: lint
This commit is contained in:
@@ -119,7 +119,7 @@ function scrapableHeuristics(maxCountPerPage = 50, minArea = 20000, scrolls = 3,
|
|||||||
// as long as we don't merge any two elements by substituing them for their parents,
|
// as long as we don't merge any two elements by substituing them for their parents,
|
||||||
// we substitute.
|
// we substitute.
|
||||||
while (out.map((x) => x.parentElement).every(different)
|
while (out.map((x) => x.parentElement).every(different)
|
||||||
&& out.forEach((x) => x.parentElement !== null)) {
|
&& out.forEach((x) => x.parentElement !== null)) {
|
||||||
out = out.map((x) => x.parentElement ?? x);
|
out = out.map((x) => x.parentElement ?? x);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user