baidu

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildURL

func BuildURL(q core.Query) (string, error)
func Search(query core.Query) ([]core.SearchResult, error)

Types

type Baidu

type Baidu struct {
	core.Browser
	core.SearchEngineOptions
}

func New

func New(browser core.Browser, opts core.SearchEngineOptions) *Baidu

func (*Baidu) GetRateLimiter added in v0.2.1

func (baid *Baidu) GetRateLimiter() *rate.Limiter

func (*Baidu) Name

func (baid *Baidu) Name() string

func (*Baidu) Search

func (baid *Baidu) Search(query core.Query) ([]core.SearchResult, error)

Jump to

Keyboard shortcuts

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