linkcheck.run library

Classes

CrawlResult
Destination
Origin
Origin of a link. Contains information about the exact place in a file (URI) and some additional helpful info.

Constants

anchorFlag → const String
"check-anchors"
ansiFlag → const String
"nice"
connectionFailuresAsWarnings → const String
"connection-failures-as-warnings"
debugFlag → const String
"debug"
defaultUrl → const String
"http://localhost:8080/"
externalFlag → const String
"external"
helpFlag → const String
"help"
hostsFlag → const String
"hosts"
inputFlag → const String
"input-file"
redirectFlag → const String
"show-redirects"
skipFlag → const String
"skip-file"
version → const String
"2.0.15"
versionFlag → const String
"version"

Functions

crawl(List<Uri> seeds, Set<String> hostGlobs, bool shouldCheckExternal, UrlSkipper skipper, bool verbose, bool ansiTerm, Stream stopSignal, Stdout stdout) → Future<CrawlResult>
printStats(CrawlResult result, int broken, int withWarning, int withInfo, int withRedirect, bool showRedirects, bool ansiTerm, Stdout stdout) → void
reportForWriters(CrawlResult result, bool ansiTerm, bool shouldCheckAnchors, bool showRedirects, Stdout stdout) → void
Writes the reports from the perspective of a website writer - which pages reference broken links.
run(List<String> arguments, Stdout stdout) → Future<int>
Parses command-line arguments and runs the crawl. [...]