GenericSitemapResolver
Parses sitemap XML files to extract URLs for crawling.
Notesโ
Parses and processes sitemap XML files to extract URLs for crawling. Supports lenient parsing mode for sitemaps that do not strictly conform to the sitemap protocol.
Usageโ
- YAML
- JSON
- XML
class: GenericSitemapResolver
lenient: false
{
"class": "GenericSitemapResolver",
"lenient": false
}
<sitemapResolver>
<class>GenericSitemapResolver</class>
<lenient>false</lenient>
</sitemapResolver>
Propertiesโ
| Property | Type | Required | Default |
|---|---|---|---|
lenient | boolean | No | false |
Property Detailsโ
lenientโ
When enabled, the sitemap parser is more tolerant of sitemaps that do not strictly conform to the sitemap protocol specification.