linkcheck.logger.sitemapxml
A sitemap XML logger.
Classes
|
Sitemap XML output according to https://www.sitemaps.org/protocol.html |
- class linkcheck.logger.sitemapxml.SitemapXmlLogger(**kwargs)[source]
Bases:
_XMLLogger
Sitemap XML output according to https://www.sitemaps.org/protocol.html
Initialize graph node list and internal id counter.
- log_filter_url(url_data, do_print)[source]
Update accounting data and determine if URL should be included in the sitemap.
- LoggerArgs = {'encoding': 'utf-8', 'filename': 'linkchecker-out.sitemap.xml'}
- LoggerName = 'sitemap'