Versions in this module Expand all Collapse all v0 v0.1.0 May 18, 2024 Changes in this version + func IsProbablyReaderable(htmlSource string, opts ...Option) bool + type Option func(*Options) + func AllowedVideoRegex(rgx *regexp.Regexp) Option + func CharThreshold(n int) Option + func ClassesToPreserve(classes ...string) Option + func DisableJSONLD(b bool) Option + func KeepClasses(b bool) Option + func LogLevel(l slog.Level) Option + func MaxElemsToParse(n int) Option + func MinContentLength(len int) Option + func MinScore(score float64) Option + func NTopCandidates(n int) Option + func Serializer(f func(*node) string) Option + func VisibilityChecker(f func(*html.Node) bool) Option + type Options struct + type Readability struct + func New(htmlSource, uri string, opts ...Option) (*Readability, error) + func (r *Readability) Parse() (*Result, error) + type Result struct + Byline string + Content string + Dir string + Excerpt string + Lang string + Length int + PublishedTime string + SiteName string + TextContent string + Title string