Original post

Quickly scrape Google Search Results.

the project to show your appreciation.

Example

package main

import (
        "context"
        "fmt"
        "github.com/rocketlaunchr/google-search"
)

func main() {
        ctx := context.Background()
        fmt.Println(googlesearch.Search(ctx, "optometrist"))
}

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.

Credits

Special Thanks to Edmund Martin

Other useful packages

  • dataframe-go – Statistics and data manipulation
  • dbq – Zero boilerplate database operations for
  • electron-alert – SweetAlert2 for Electron Applications
  • igo – A Go transpiler with cool new syntax such as fordefer (defer for for-loops)
  • mysql-go – Properly cancel slow MySQL queries
  • react – Build front end applications using Go
  • remember-go – Cache slow database queries