discoverValidSitemaps
Callable
Parameters
urls: string[]
options: { proxyUrl?: string } = {}
optionalproxyUrl: string
Proxy URL to be used for network requests.
Returns AsyncIterable<string>
An async iterable with the discovered sitemap URLs.
Proxy URL to be used for network requests.
An async iterable with the discovered sitemap URLs.
Given a list of URLs, discover related sitemap files for these domains by checking the
robots.txtfile, the defaultsitemap.xml&sitemap.txtfiles and the URLs themselves.