fetchers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidResponseCode = fmt.Errorf("invalid response code")
	ErrInvalidContentType  = fmt.Errorf("invalid content type")
)

Functions

This section is empty.

Types

type LinksFetcher

type LinksFetcher struct {
}

func NewLinksFetcher

func NewLinksFetcher() *LinksFetcher

func (*LinksFetcher) Fetch

func (f *LinksFetcher) Fetch(url string) ([]string, error)

Fetch returns all unique resolved links found in the HTML content of the given URL

Jump to

Keyboard shortcuts

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