Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Google - Gather URLs from google. Google = "github.com/crackcomm/go-google-search/spider.Google" // GoogleCaptcha - Gather URLs from google. GoogleCaptcha = "github.com/crackcomm/go-google-search/spider.GoogleCaptcha" )
Functions ¶
This section is empty.
Types ¶
type SearchResult ¶
type SearchResult struct { // Query - Search query. Query string `json:"query,omitempty"` // Page - Search results page. Page int `json:"page,omitempty"` // Results - List of URLs. Results []string `json:"results,omitempty"` // Engine - Result engine, "google". Engine string `json:"engine,omitempty"` // Source - URL source. Source string `json:"source,omitempty"` }
SearchResult - Google search result.
type Spider ¶
type Spider struct { crawl.Crawler Output func(*SearchResult) error }
Spider - Google search results spider.
func (*Spider) GoogleCaptcha ¶
GoogleCaptcha - Crawls google.
Click to show internal directories.
Click to hide internal directories.