goreadability

package
v0.0.0-...-01a1fb0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeScore

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

type Readability

type Readability struct {
	HTML string
	URL  string
	// contains filtered or unexported fields
}

func NewReadability

func NewReadability(html, url string) *Readability

func (*Readability) GetContent

func (r *Readability) GetContent() string

func (*Readability) GetTitle

func (r *Readability) GetTitle() string

通过求最大公共子串来获取标题

Jump to

Keyboard shortcuts

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