linkcheck.director.task

Classes

CheckedTask()

Stoppable URL check task, handling error conditions while running.

LoggedCheckedTask(logger)

URL check task with a logger instance and internal error handling.

class linkcheck.director.task.CheckedTask[source]

Bases: StoppableThread

Stoppable URL check task, handling error conditions while running.

Store stop event.

internal_error(**kwargs)[source]

Overload in subclass.

run()[source]

Handle keyboard interrupt and other errors.

run_checked(**kwargs)[source]

Overload in subclass.

class linkcheck.director.task.LoggedCheckedTask(logger)[source]

Bases: CheckedTask

URL check task with a logger instance and internal error handling.

Initialize super instance and store given logger.

internal_error()[source]

Log an internal error on console and the logger.