crawler

package
v0.0.0-...-19f8e30 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StoragePath = ""

StoragePath is the path to storage directory.

Functions

This section is empty.

Types

type Crawler

type Crawler struct {
	SourceManager *source.Manager
	// contains filtered or unexported fields
}

Crawler is the type for spider.

func New

func New(s *source.Manager, path string) *Crawler

New returns a new Crawler.

func (Crawler) Run

func (c Crawler) Run()

Run runs the spider workers in parallel.

Jump to

Keyboard shortcuts

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