mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
fix(crawler): treat XML files as sitemaps (temporarily)
This commit is contained in:
parent
ca2e33db0a
commit
350d00d27a
|
@ -362,7 +362,7 @@ export class WebCrawler {
|
|||
};
|
||||
|
||||
|
||||
const sitemapUrl = url.endsWith("/sitemap.xml")
|
||||
const sitemapUrl = url.endsWith(".xml")
|
||||
? url
|
||||
: `${url}/sitemap.xml`;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user