linkcheck.plugins

Module for plugin management.

Functions

get_plugin_classes(modules)

Get plugin classes for given modules.

get_plugin_modules(folders[, package, …])

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, package='plugins', parentpackage='linkcheck.dummy')[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

linkcheck.plugins.anchorcheck

Check HTML anchors

linkcheck.plugins.httpheaderinfo

Add HTTP server name information

linkcheck.plugins.locationinfo

Store and retrieve country names for IPs.

linkcheck.plugins.markdowncheck

Parse links in Markdown files.

linkcheck.plugins.parsepdf

Parse links in PDF files with pdfminer.

linkcheck.plugins.parseword

Parse hyperlinks in Word files.

linkcheck.plugins.regexcheck

Check page content with regular expression.

linkcheck.plugins.sslcertcheck

Handle https links.

linkcheck.plugins.syntaxchecks

linkcheck.plugins.viruscheck

Check page content for virus infection with clamav.