htmlparser

package
v0.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCookieJar

func SetCookieJar(jar *cookiejar.Jar) func(f *Factory)

func SetDebugger

func SetDebugger(d debug.Debugger) func(f *Factory)

func SetTransport

func SetTransport(rt http.RoundTripper) func(f *Factory)

func SetUserAgent

func SetUserAgent(userAgent string) func(f *Factory)

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(conf ...func(f *Factory)) *Factory

func (*Factory) New

func (f *Factory) New() *colly.Collector

type Getter

type Getter interface {
	Get(uri string) (io.ReadCloser, error)
}

Jump to

Keyboard shortcuts

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