bs4

package
v0.0.0-...-9eaa835 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bs4_selection

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

文档树操作========================================================================= start

func Bs4

func Bs4(txt string) (*Bs4_selection, error)

func (*Bs4_selection) After

func (object *Bs4_selection) After(str string) *Bs4_selection

func (*Bs4_selection) Append

func (object *Bs4_selection) Append(str string) *Bs4_selection

func (*Bs4_selection) Attrs

func (object *Bs4_selection) Attrs() map[string]string

func (*Bs4_selection) Before

func (object *Bs4_selection) Before(str string) *Bs4_selection

func (*Bs4_selection) Childrens

func (object *Bs4_selection) Childrens(election ...string) []*Bs4_selection

func (*Bs4_selection) Clear

func (object *Bs4_selection) Clear() *Bs4_selection

func (*Bs4_selection) Contents

func (object *Bs4_selection) Contents(election ...string) []*Bs4_selection

func (*Bs4_selection) Copy

func (object *Bs4_selection) Copy() *Bs4_selection

func (*Bs4_selection) Del

func (object *Bs4_selection) Del(key string) *Bs4_selection

func (*Bs4_selection) Find

func (object *Bs4_selection) Find(election string) *Bs4_selection

func (*Bs4_selection) Finds

func (object *Bs4_selection) Finds(election string) []*Bs4_selection

func (*Bs4_selection) Get

func (object *Bs4_selection) Get(key string, defaultValue ...string) string

func (*Bs4_selection) Has

func (object *Bs4_selection) Has(object2 *Bs4_selection) bool

func (*Bs4_selection) Html

func (object *Bs4_selection) Html(str ...string) (string, error)

func (*Bs4_selection) Name

func (object *Bs4_selection) Name() string

func (*Bs4_selection) Next

func (object *Bs4_selection) Next(election ...string) *Bs4_selection

func (*Bs4_selection) Nexts

func (object *Bs4_selection) Nexts(election ...string) []*Bs4_selection

func (*Bs4_selection) Parent

func (object *Bs4_selection) Parent(election ...string) *Bs4_selection

func (*Bs4_selection) Parents

func (object *Bs4_selection) Parents(election ...string) []*Bs4_selection

func (*Bs4_selection) Prepend

func (object *Bs4_selection) Prepend(str string) *Bs4_selection

修改文档树操作

func (*Bs4_selection) Prev

func (object *Bs4_selection) Prev(election ...string) *Bs4_selection

func (*Bs4_selection) Prevs

func (object *Bs4_selection) Prevs(election ...string) []*Bs4_selection

func (*Bs4_selection) Remove

func (object *Bs4_selection) Remove() *Bs4_selection

func (*Bs4_selection) Replace

func (object *Bs4_selection) Replace(str string) *Bs4_selection

func (*Bs4_selection) Set

func (object *Bs4_selection) Set(key string, val string) *Bs4_selection

func (*Bs4_selection) Sibs

func (object *Bs4_selection) Sibs(election ...string) []*Bs4_selection

func (*Bs4_selection) Strings

func (object *Bs4_selection) Strings() []string

func (*Bs4_selection) Text

func (object *Bs4_selection) Text(str ...string) string

Jump to

Keyboard shortcuts

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