google

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "v1.1.4"

	URL = "https://www.google%s/search"
)

Variables

This section is empty.

Functions

func NewGoogleEngine

func NewGoogleEngine() dorkali.Engine

Types

type GoogleEngine

type GoogleEngine struct {
	Opt options
}

func (*GoogleEngine) Description

func (engine *GoogleEngine) Description() string

func (*GoogleEngine) ParseHTML

func (engine *GoogleEngine) ParseHTML(h string) ([]dorkali.Result, error)

func (*GoogleEngine) ParseResponse

func (engine *GoogleEngine) ParseResponse(response *http.Response) ([]dorkali.Result, error)

func (*GoogleEngine) Search

func (engine *GoogleEngine) Search(interface{}) (*http.Response, error)

func (*GoogleEngine) Start

func (engine *GoogleEngine) Start() error

func (*GoogleEngine) Usage

func (engine *GoogleEngine) Usage()

func (*GoogleEngine) Version

func (engine *GoogleEngine) Version() string

type GoogleResult

type GoogleResult struct {
	Doc *html.Element
}

func (*GoogleResult) Description

func (r *GoogleResult) Description() string

func (*GoogleResult) String

func (r *GoogleResult) String() string

func (*GoogleResult) Title

func (r *GoogleResult) Title() string

func (*GoogleResult) Url

func (r *GoogleResult) Url() string

Jump to

Keyboard shortcuts

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