- update readme
This commit is contained in:
parent
9a5a226b03
commit
ad9d95d3fa
@ -1,4 +1,4 @@
|
||||
# google-search [![GoDoc](http://godoc.org/github.com/rocketlaunchr/google-search?status.svg)](http://godoc.org/github.com/rocketlaunchr/google-search)[![Go Report Card](https://goreportcard.com/badge/github.com/rocketlaunchr/google-search)](https://goreportcard.com/report/github.com/rocketlaunchr/google-search)
|
||||
# google-search [![GoDoc](http://godoc.org/github.com/rocketlaunchr/google-search?status.svg)](http://godoc.org/github.com/rocketlaunchr/google-search) [![Go Report Card](https://goreportcard.com/badge/github.com/rocketlaunchr/google-search)](https://goreportcard.com/report/github.com/rocketlaunchr/google-search)
|
||||
|
||||
Quickly scrape Google Seach Results.
|
||||
|
||||
@ -21,6 +21,12 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
## Warning
|
||||
|
||||
The implementation relies on Google's search page DOM being constant. If it changes, then the implementation will break. Having said that, it hasn't changed for years.
|
||||
|
||||
In the event it changes, this package will be updated as soon as possible.
|
||||
|
||||
|
||||
Other useful packages
|
||||
------------
|
||||
|
@ -40,7 +40,7 @@ var GoogleDomains = map[string]string{
|
||||
"nz": "https://www.google.co.nz/search?q=",
|
||||
}
|
||||
|
||||
// SearchOptions modifies how Search function behaves.
|
||||
// SearchOptions modifies how the Search function behaves.
|
||||
type SearchOptions struct {
|
||||
|
||||
// CountryCode sets the ISO 3166-1 alpha-2 code of the localized Google Search homepage to use.
|
||||
|
Loading…
x
Reference in New Issue
Block a user