headless

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLoaded

func IsLoaded() bool

IsLoaded returns true if the transport is loaded.

Types

type Transport added in v0.5.3

type Transport interface {
	http.RoundTripper
	io.Closer
}

Transport defines a transport used for colly.

func GetTransport added in v0.5.3

func GetTransport(
	options mango.Headless,
	loadWait time.Duration,
	localStorage map[string]string,
	actions map[rod.ActionType]rod.Action,
) Transport

GetTransport returns the singleton rod or flaresolverr transport.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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