Versions in this module Expand all Collapse all v1 v1.0.0 Dec 5, 2020 Changes in this version + func Find(top *html.Node, expr string) ([]*html.Node, error) + func FindEach(top *html.Node, expr string, cb func(int, *html.Node)) error + func FindOne(top *html.Node, expr string) (*html.Node, error) + func InnerText(n *html.Node) string + func LoadURL(url string) (*html.Node, error) + func LoadURLWithHeader(link string, headers map[string]string) (*html.Node, error) + func LoadURLWithProxy(link string, proxy string) (*html.Node, error) + func OutputHTML(n *html.Node, self bool) string + func Parse(r io.Reader) (*html.Node, error) + func SelectAttr(n *html.Node, name string) (val string) + type NodeNavigator struct + func CreateXPathNavigator(top *html.Node) *NodeNavigator + func (*NodeNavigator) Prefix() string + func (h *NodeNavigator) Copy() xpath.NodeNavigator + func (h *NodeNavigator) Current() *html.Node + func (h *NodeNavigator) LocalName() string + func (h *NodeNavigator) MoveTo(other xpath.NodeNavigator) bool + func (h *NodeNavigator) MoveToChild() bool + func (h *NodeNavigator) MoveToFirst() bool + func (h *NodeNavigator) MoveToNext() bool + func (h *NodeNavigator) MoveToNextAttribute() bool + func (h *NodeNavigator) MoveToParent() bool + func (h *NodeNavigator) MoveToPrevious() bool + func (h *NodeNavigator) MoveToRoot() + func (h *NodeNavigator) NodeType() xpath.NodeType + func (h *NodeNavigator) String() string + func (h *NodeNavigator) Value() string