fix(WebScraper/tryGetSitemap): deduplicate sitemap links list

This commit is contained in:
Gergő Móricz 2024-12-15 22:33:36 +01:00
parent 37f58efe45
commit e97ee4a4be

View File

@ -210,7 +210,7 @@ export class WebCrawler {
}
if (sitemapLinks.length > 0) {
let filteredLinks = this.filterLinks(
sitemapLinks,
[...new Set(sitemapLinks)],
this.limit,
this.maxCrawledDepth,
fromMap,