Sitemap
Index
Constructors
constructor
Parameters
urls: string[]
Returns Sitemap
Properties
readonlyurls
Methods
staticload
Fetch sitemap content from given URL or URLs and return URLs of referenced pages.
Parameters
urls: string | string[]
sitemap URL(s)
optionalproxyUrl: string
URL of a proxy to be used for fetching sitemap contents
Returns Promise<Sitemap>
Loads one or more sitemaps from given URLs, following references in sitemap index files, and exposes the contained URLs.
Example usage: