SitemapRequestListOptions
Hierarchy
- UrlConstraints
- SitemapRequestListOptions
Index
Properties
optionalexclude
optionalglobs
An array of glob pattern strings or plain objects containing glob pattern strings matching the URLs to be enqueued.
The plain objects must include at least the glob
property, which holds the glob pattern string.
The matching is always case-insensitive.
If you need case-sensitive matching, use regexps
property directly.
If globs
is an empty array or undefined
, and regexps
are also not defined, then the SitemapRequestList
includes all the URLs from the sitemap.
optionalmaxBufferSize
Maximum number of buffered URLs for the sitemap loading stream. If the buffer is full, the stream will pause until the buffer is drained.
optionalparseSitemapOptions
Advanced options for the underlying parseSitemap
call.
optionalpersistStateKey
Key for persisting the state of the request list in the KeyValueStore
.
optionalproxyUrl
Proxy URL to be used for sitemap loading.
optionalregexps
An array of regular expressions or plain objects containing regular expressions matching the URLs to be enqueued.
The plain objects must include at least the regexp
property, which holds the regular expression.
If regexps
is an empty array or undefined
, and globs
are also not defined, then the SitemapRequestList
includes all the URLs from the sitemap.
optionalsignal
Abort signal to be used for sitemap loading.
sitemapUrls
List of sitemap URLs to parse.
optionaltimeoutMillis
Timeout for sitemap loading in milliseconds. If both signal
and timeoutMillis
are provided, either of them can abort the loading.
An array of glob pattern strings, regexp patterns or plain objects containing patterns matching URLs that will never be included.
The plain objects must include either the
glob
property or theregexp
property.Glob matching is always case-insensitive. If you need case-sensitive matching, provide a regexp.