scraper

package
v0.0.0-...-40fd6e8 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

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

Page is a container, representing an html document.

func ScrapePage

func ScrapePage(url string) Page

ScrapePage makes an http request and returns the page as a 'Page' struct.

func (*Page) GetTitle

func (this *Page) GetTitle() string

GetTitle returns the <title> of the page.

Jump to

Keyboard shortcuts

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