google-search/README.md

41 lines
1.6 KiB
Markdown
Raw Normal View History

2020-03-11 15:33:36 +11:00
# 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)
2020-03-11 15:30:48 +11:00
2020-03-11 15:34:47 +11:00
Quickly scrape Google Search Results.
2020-03-11 15:30:48 +11:00
**the project to show your appreciation.**
## Example
```go
package main
import (
"context"
"fmt"
"github.com/rocketlaunchr/google-search"
)
func main() {
ctx := context.Background()
fmt.Println(googlesearch.Search(ctx, "optometrist"))
}
```
2020-03-11 15:33:36 +11:00
## 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.
2020-03-11 15:30:48 +11:00
Other useful packages
------------
- [dataframe-go](https://github.com/rocketlaunchr/dataframe-go) - Statistics and data manipulation
- [dbq](https://github.com/rocketlaunchr/dbq) - Zero boilerplate database operations for Go
- [electron-alert](https://github.com/rocketlaunchr/electron-alert) - SweetAlert2 for Electron Applications
- [igo](https://github.com/rocketlaunchr/igo) - A Go transpiler with cool new syntax such as fordefer (defer for for-loops)
- [mysql-go](https://github.com/rocketlaunchr/mysql-go) - Properly cancel slow MySQL queries
- [react](https://github.com/rocketlaunchr/react) - Build front end applications using Go
- [remember-go](https://github.com/rocketlaunchr/remember-go) - Cache slow database queries