linkcheck.plugins

Module for plugin management.

Functions

get_plugin_classes(modules)

Get plugin classes for given modules.

get_plugin_modules(folders)

Get plugin modules for given folders.

run_plugins(plugins, url_data[, ...])

Run the check(url_data) method of given plugins.

Classes

PluginManager(config)

Manage all connection and content plugins.

class linkcheck.plugins.PluginManager(config)[source]

Bases: object

Manage all connection and content plugins.

Load enabled plugins.

load_modules(modules, config)[source]

Load plugin modules.

run_connection_plugins(url_data)[source]

Run all connection plugins.

run_content_plugins(url_data)[source]

Run all content plugins.

run_parser_plugins(url_data, pagetype)[source]

Run parser plugins for given pagetype.

linkcheck.plugins.get_plugin_classes(modules)[source]

Get plugin classes for given modules.

linkcheck.plugins.get_plugin_modules(folders)[source]

Get plugin modules for given folders.

linkcheck.plugins.run_plugins(plugins, url_data, stop_after_match=False, **kwargs)[source]

Run the check(url_data) method of given plugins.

Modules

anchorcheck

Check HTML anchors

httpheaderinfo

Add HTTP server name information

locationinfo

Store and retrieve country names for IPs.

markdowncheck

Parse links in Markdown files.

parsepdf

Parse links in PDF files with pdfminer.

parseword

Parse hyperlinks in Word files.

regexcheck

Check page content with regular expression.

sslcertcheck

Handle https links.

syntaxchecks

viruscheck

Check page content for virus infection with clamav.