Documentation ¶
Index ¶
- Constants
- func NewGoogleEngine() dorkali.Engine
- type GoogleEngine
- func (engine *GoogleEngine) Description() string
- func (engine *GoogleEngine) ParseHTML(h string) ([]dorkali.Result, error)
- func (engine *GoogleEngine) ParseResponse(response *http.Response) ([]dorkali.Result, error)
- func (engine *GoogleEngine) Search(interface{}) (*http.Response, error)
- func (engine *GoogleEngine) Start() error
- func (engine *GoogleEngine) Usage()
- func (engine *GoogleEngine) Version() string
- type GoogleResult
Constants ¶
View Source
const ( Version = "v1.1.4" URL = "https://www.google%s/search" )
Variables ¶
This section is empty.
Functions ¶
func NewGoogleEngine ¶
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 (*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 ¶
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
Click to show internal directories.
Click to hide internal directories.