https://github.com/onyas/go-browsercookie
:cookie: Port python browsercookie to golang
https://github.com/onyas/go-browsercookie
browser-cookie golang-library
Last synced: 5 months ago
JSON representation
:cookie: Port python browsercookie to golang
- Host: GitHub
- URL: https://github.com/onyas/go-browsercookie
- Owner: onyas
- License: mit
- Created: 2019-07-24T03:06:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-26T08:57:02.000Z (almost 7 years ago)
- Last Synced: 2024-10-16T09:25:41.305Z (over 1 year ago)
- Topics: browser-cookie, golang-library
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 15
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-browsercookie
- Port [Browsercookie](https://pypi.org/project/browsercookie/) from Python to Golang
## Install
```golang
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](https://github.com/zellyn/kooky), all the glory should belongs to [@zellyn]()