go-sitecheck

command module
v0.0.0-...-2745d1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2014 License: MIT Imports: 7 Imported by: 0

README

This tool aims to check referred links for a page (and potential slow loading sub pages).

Build

Ensure that you have go installed, the project is checked out and available in your GOPATH.

// build binary
$ go get && go build

Usage

$ ./go-sitecheck -url=<some url> -threshold=<threshold in ms> -depth=<some depth>
URL mapping

By providing a map parameter this utility can translate between domains and/or paths. This can be useful if the tool is used for scraping external resources but testing internal resources.

Example usage:

$ ./go-sitecheck -map=nrk.no:vg.no

This will replace the text fragment in all discovered links that contains "nrk.no" with "vg.no".

Ignore domains

A comma separated list of domains/sub-urls to ignore can be passed to the tool by specifying the ignore parameter.

Example usage:

$ ./go-sitecheck -ignore=tv.nrk.no,radio.nrk.no

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL