mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-08 16:49:02 +08:00
fix(WebScraper/tryGetSitemap): deduplicate sitemap links list
This commit is contained in:
parent
37f58efe45
commit
e97ee4a4be
@ -210,7 +210,7 @@ export class WebCrawler {
|
||||
}
|
||||
if (sitemapLinks.length > 0) {
|
||||
let filteredLinks = this.filterLinks(
|
||||
sitemapLinks,
|
||||
[...new Set(sitemapLinks)],
|
||||
this.limit,
|
||||
this.maxCrawledDepth,
|
||||
fromMap,
|
||||
|
Loading…
x
Reference in New Issue
Block a user