extract

package
v0.0.0-...-476c8bb Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoTitles is returned when no titles can be extracted from the source
	ErrNoTitles = errors.New("no titles found")
)

Functions

func Titles

func Titles(root *html.Node) ([]string, error)

Titles find title candidates from a root html.Node, and returns a ranked, unique set

Types

This section is empty.

Jump to

Keyboard shortcuts

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