webkit

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAgentCurl   = "curl/8.7.1"
	UserAgentSafari = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AutoConfig bool
	DriverDir  string
	UserAgent  string
}

type WebKit

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

func New

func New(cfg Config) (web *WebKit, err error)

func (*WebKit) Close

func (api *WebKit) Close() error

func (*WebKit) Extract

func (api *WebKit) Extract(uri string) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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