Documentation
¶
Overview ¶
Package orb provides primitives for scraping HTML from web pages
Index ¶
- func Load(document string) func(sel string) *Query
- type Document
- type Query
- func (qs *Query) AddAttr()
- func (qs *Query) AddClass(className string) *Query
- func (qs *Query) Append()
- func (qs *Query) Attr()
- func (qs *Query) Children() *Query
- func (qs *Query) Data(target string) string
- func (qs *Query) Each(fn func(i int, node *Query))
- func (qs *Query) Filter(selector string)
- func (qs *Query) Find(sel string) *Query
- func (qs *Query) FindAll(sel string) *Query
- func (qs *Query) HasClass(target string) bool
- func (qs *Query) Html()
- func (qs *Query) Index()
- func (qs *Query) Is()
- func (qs *Query) Map(fn func(i int, node *html.Node))
- func (qs *Query) Next() *Query
- func (qs *Query) NextAll() *Query
- func (qs *Query) NextAllFilter(selector string) *Query
- func (qs *Query) NextUntil(selector string) *Query
- func (qs *Query) Parent() *Query
- func (qs *Query) ParentFilter(selector string) *Query
- func (qs *Query) Parents() *Query
- func (qs *Query) ParentsFilter(selector string) *Query
- func (qs *Query) ParentsUntil(selector string) *Query
- func (qs *Query) Prev() *Query
- func (qs *Query) PrevAll() *Query
- func (qs *Query) PrevAllFilter(selector string) *Query
- func (qs *Query) PrevUntil(selector string) *Query
- func (qs *Query) Remove() *Query
- func (qs *Query) RemoveAttr()
- func (qs *Query) RemoveClass() *Query
- func (qs *Query) Text() string
- func (qs *Query) ToggleClass()
- Bugs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Notes ¶
Bugs ¶
renders duplicate html
Click to show internal directories.
Click to hide internal directories.