scrape

package
v0.0.0-...-994f8ce Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageBodyFetcher

type PageBodyFetcher func(url.URL) (bodyReader io.ReadCloser, err error)

type PageScraper

type PageScraper struct{}

func (PageScraper) Scrape

func (PageScraper) Scrape(target url.URL) (result Result, err error)

type Result

type Result struct {
	OutPages pages.PageGroup
	OutLinks map[string]links.Link
}

type Scraper

type Scraper interface {
	Scrape(target url.URL) (result Result, err error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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