go-browsercookie
Install
go get -u github.com/onyas/go-browsercookie
Usage
package main
import (
"github.com/onyas/go-browsercookie"
"log"
)
func main() {
cookieJar, error := browsercookie.Chrome("https://google.com")
if error != nil {
log.Fatal(error)
}
log.Println(cookieJar)
}
Thanks/references
It's a Wrapper for zellyn/kooky, all the glory should belongs to @zellyn