go-crawler

command module
v0.0.0-...-592098c Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2018 License: MIT Imports: 10 Imported by: 0

README

go-crawler

Simple web crawler written in Go.

Installation

Make sure you have a working Go environment. You can find the installation instructions at golang.org

To install the crawler, run the following command:

$ go get github.com/ZelJin/go-crawler

Make sure your PATH includes the $GOPATH/bin directory:

export PATH=$PATH:$GOPATH/bin

Usage

Crawl the Internet!

$ go-crawler https://github.com

You will receive comprehensive usage instructions after you run go-crawler command:

$ go-crawler
NAME:
   go-crawler - Generate a sitemap for a given URL.

USAGE:
   go-crawler [-d | -depth] [URL]

VERSION:
   1.0.0

COMMANDS:
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --depth value, -d value    Crawling depth (default: 10)
   --threads value, -t value  Maximum parallel crawling threads (default: 100)
   --help, -h                 show help
   --version, -v              print the version

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