linkcheck.logger.csvlog

A CSV logger.

Classes

CSVLogger(**kwargs)

CSV output, consisting of one line per entry.

class linkcheck.logger.csvlog.CSVLogger(**kwargs)[source]

Bases: _Logger

CSV output, consisting of one line per entry. Entries are separated by a separator (a semicolon per default).

Store default separator and (os dependent) line terminator.

comment(s, **args)[source]

Write CSV comment.

end_output(**kwargs)[source]

Write end of checking info as csv comment.

log_url(url_data)[source]

Write csv formatted url check info.

start_output()[source]

Write checking start info as csv comment.

writerow(row)[source]

Write one row in CSV format.

LoggerArgs = {'dialect': 'excel', 'filename': 'linkchecker-out.csv', 'quotechar': '"', 'separator': ';'}
LoggerName = 'csv'