NAME
WWW::BrokenLinks - Finds broken links (including images) on a website.
VERSION
version 0.04
DESCRIPTION
This module crawls a given website for broken links, including images, and outputs a report in CSV format.
The following functions are provided:
- new(\%options)
-
Provided automatically by Moose, thsi is the constructor for the class.
The following parameters can be provided as a hash reference.
base_url
(required): The base URL to crawl. The module will not crawl above the depth specified.debug
(optional): Set to 1 to enable debugging messages (off by default).request_gap
(optional): Number of seconds to wait between requests. Defaults to 1 second.output_file
(required): Path to file where report shoud be saved.excluded_urls
(optional): Array reference of URLs to excluded. Defaults to an empty array.
- crawl()
-
Crawl the given website for broken links.
DEPENDENCIES
Perl 5.14 or later is required. This module may work with earlier versions of Perl, but this is neither tested nor supported.
AUTHOR
Paul Waring <paul.waring@manchester.ac.uk>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2014 by University of Manchester.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999