google

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

View Source
var GoogleDomains = map[string]string{}/* 199 elements not displayed */

Functions

func BuildURL

func BuildURL(q core.Query) (string, error)

Build Google query URL from Query struct

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

Types

type Google

type Google struct {
	core.Browser
	core.SearchEngineOptions
	// contains filtered or unexported fields
}

func New

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

func (*Google) GetRateLimiter added in v0.2.1

func (gogl *Google) GetRateLimiter() *rate.Limiter

func (*Google) Name

func (gogl *Google) Name() string

func (*Google) Search

func (gogl *Google) 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