googlesearch

package
v0.0.0-...-0dcdeae Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

README ΒΆ

Name: googlesearch

Parameters:

  • query [String] - The search query
  • type [Strings array] - The type of search results to return. Possible values: all, videos

Response format:

{
  "googlesearch": {
    "all": [
      {
        "description": "A weekly newsletter about the Go programming language ...",
        "link": "https://golangweekly.com/",
        "title": "Golang Weekly"
      },
      ...
    ]
  }
}

Documentation ΒΆ

Index ΒΆ

Constants ΒΆ

This section is empty.

Variables ΒΆ

This section is empty.

Functions ΒΆ

This section is empty.

Types ΒΆ

type GoogleSearch ΒΆ

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

func New ΒΆ

func New(browser *rod.Browser) *GoogleSearch

func (*GoogleSearch) Name ΒΆ

func (p *GoogleSearch) Name() string

func (*GoogleSearch) Run ΒΆ

func (p *GoogleSearch) Run(params map[string]any) (output map[string]any, err error)

Jump to

Keyboard shortcuts

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