browsercookie
Get cookies of browser (only chrome on windows for now) that after decrypted
Installation
This package can be installed with the go get command:
go get github.com/donkw/browsercookie
Usage
import "github.com/donkw/browsercookie/browser"
// when get Chrome AES GCM KEY fail, return error msg
// chrome := browser.NewChrome()
chrome, err := browser.NewChrome()
if err != nil {
log.Fatalf("error: %+v", err)
}
chrome.GetCookies(".baidu.com")
log.Printf("cookies: %+v", chrome.Cookies)