Closed alswl closed 3 years ago
OS: macOS 11.2.3 (20D91) Browser: Google Chrome: Version 89.0.4389.114 (Official Build) (x86_64) library version: github.com/zellyn/kooky v0.0.0-20201108220156-bec09c12c339
testing codes:
func TestBrowserCookiesReading(t *testing.T) { dir, _ := os.UserConfigDir() // "/<USER>/Library/Application Support/" cookiesFile := dir + "/Google/Chrome/Default/Cookies" cookies, err := chrome.ReadCookies(cookiesFile) if err != nil { log.Fatal(err) } for _, cookie := range cookies { fmt.Println(cookie) } }
output:
=== RUN TestBrowserCookiesReading 2021/04/08 16:57:05 column index out of bound
Hopefully @barnardb's #42 and #43, just merged, will fix this.
Thanks, it works for me.
OS: macOS 11.2.3 (20D91) Browser: Google Chrome: Version 89.0.4389.114 (Official Build) (x86_64) library version: github.com/zellyn/kooky v0.0.0-20201108220156-bec09c12c339
testing codes:
output: