fix(WebScraper/tryGetSitemap): deduplicate sitemap links list
This commit is contained in:
@@ -210,7 +210,7 @@ export class WebCrawler {
|
|||||||
}
|
}
|
||||||
if (sitemapLinks.length > 0) {
|
if (sitemapLinks.length > 0) {
|
||||||
let filteredLinks = this.filterLinks(
|
let filteredLinks = this.filterLinks(
|
||||||
sitemapLinks,
|
[...new Set(sitemapLinks)],
|
||||||
this.limit,
|
this.limit,
|
||||||
this.maxCrawledDepth,
|
this.maxCrawledDepth,
|
||||||
fromMap,
|
fromMap,
|
||||||
|
|||||||
Reference in New Issue
Block a user