gear

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractFromDataFromHTML

func ExtractFromDataFromHTML(source string) map[string]string

Types

type Gear

type Gear struct {
	Collector *colly.Collector
}

func NewGear

func NewGear() *Gear

func (*Gear) Get

func (g *Gear) Get(url string) error

func (*Gear) OnHTML

func (g *Gear) OnHTML(selector string, callback func(e *colly.HTMLElement))

func (*Gear) Post

func (g *Gear) Post(url string, data map[string]string) error

func (*Gear) ShowContent

func (g *Gear) ShowContent()

Jump to

Keyboard shortcuts

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