gocrawl

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 6 Imported by: 0

README

gocrawl

Simple http crawler, written in Go.

Usage example

$ gocrawl -url https://www.example.com -threads 10

Run gocrawl -help for help.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crawler

type Crawler struct {
	AllowedURLPatterns    []*regexp.Regexp
	DisallowedURLPatterns []*regexp.Regexp
	NoParent              bool
	Threads               int
	InMemoryQueueStorage  *collyqueue.InMemoryQueueStorage
}

func (*Crawler) Crawl

func (crawler *Crawler) Crawl(startURL, post string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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