app

package
v0.0.0-...-c6bfbce Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(c *Config)

Types

type Config

type Config struct {
	SeedURL     string
	ScrapeLimit int
	GetEmails   bool
	Verbose     bool
	Debug       bool

	Client   http.Client
	Wg       *sync.WaitGroup
	DataChan chan string
	URLChan  chan string
	Logger   utils.Logger
	Regex    *regexp.Regexp
}

func (*Config) Process

func (c *Config) Process()

Scrapes new URLs and logs them

func (*Config) Scrape

func (c *Config) Scrape(URL string)

Extracts all links and emails from a page and sends them back to processor over channels

Jump to

Keyboard shortcuts

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