Versions in this module Expand all Collapse all v1 v1.0.0 Mar 30, 2026 Changes in this version + type Adaptable struct + func Body(root *Adaptable) *Adaptable + func Head(root *Adaptable) *Adaptable + func NewAdaptable(n *html.Node) *Adaptable + func Parse(htmlStr string) (*Adaptable, error) + func ParseFragment(htmlStr string) ([]*Adaptable, error) + func ParseReader(r io.Reader) (*Adaptable, error) + func (a *Adaptable) AllChildren() []*Adaptable + func (a *Adaptable) AllElements() []*Adaptable + func (a *Adaptable) AllText() string + func (a *Adaptable) Ancestors() []*Adaptable + func (a *Adaptable) Attr(name string) string + func (a *Adaptable) AttrKeys() []string + func (a *Adaptable) AttrValues() []string + func (a *Adaptable) Attrs() map[string]string + func (a *Adaptable) ChildTags() []string + func (a *Adaptable) Children() []*Adaptable + func (a *Adaptable) Depth() int + func (a *Adaptable) Find(tag string) *Adaptable + func (a *Adaptable) FindAll(tag string) []*Adaptable + func (a *Adaptable) FindByAttr(key, value string) []*Adaptable + func (a *Adaptable) FindByText(text string) []*Adaptable + func (a *Adaptable) HTML() string + func (a *Adaptable) HasAttr(name string) bool + func (a *Adaptable) InnerHTML() string + func (a *Adaptable) NextSibling() *Adaptable + func (a *Adaptable) Node() *html.Node + func (a *Adaptable) Parent() *Adaptable + func (a *Adaptable) Path() []string + func (a *Adaptable) PathString() string + func (a *Adaptable) PrevSibling() *Adaptable + func (a *Adaptable) SiblingTags() []string + func (a *Adaptable) Siblings() []*Adaptable + func (a *Adaptable) Tag() string + func (a *Adaptable) Text() string