linkcheck.logger.gxml

A GraphXML logger.

Classes

GraphXMLLogger(**kwargs)

XML output mirroring the GML structure.

class linkcheck.logger.gxml.GraphXMLLogger(**kwargs)[source]

Bases: _XMLLogger, _GraphLogger

XML output mirroring the GML structure. Easy to parse with any XML tool.

Initialize graph node list and internal id counter.

end_output(**kwargs)[source]

Finish graph output, and print end of checking info as xml comment.

log_url(url_data)[source]

Write one node and all possible edges.

start_output()[source]

Write start of checking info as xml comment.

write_edge(node)[source]

Write one edge.

LoggerArgs = {'filename': 'linkchecker-out.gxml'}
LoggerName = 'gxml'