https://github.com/cyb3r-jak3/go_har
GoLang Module for parsing HAR Files
https://github.com/cyb3r-jak3/go_har
Last synced: 3 months ago
JSON representation
GoLang Module for parsing HAR Files
- Host: GitHub
- URL: https://github.com/cyb3r-jak3/go_har
- Owner: Cyb3r-Jak3
- License: mpl-2.0
- Created: 2020-09-16T22:53:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-04T21:50:40.000Z (3 months ago)
- Last Synced: 2025-04-04T22:28:04.262Z (3 months ago)
- Language: Go
- Homepage:
- Size: 6.41 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GO_HAR
[](https://github.com/Cyb3r-Jak3/go_har/actions/workflows/main.yml) [](https://goreportcard.com/report/github.com/Cyb3r-Jak3/go_har) [](https://godoc.org/github.com/Cyb3r-Jak3/go_har)
 
---HAR is a GoLang module that parses HTTP Archive files and allows for easy access to pages and entries.
## Requirements
Go 1.16+
#### Support
This module is tested with GO versions 1.16, 1.17, 1.18. It is tested with HAR files from [Firefox](testdata/Firefox.har) and [Chrome](testdata/Chrome.har). PRs containing HAR files from other browsers are welcome.
## Getting started
#### Download
`go get -u github.com/Cyb3r-Jak3/go_har/v2`
#### Using
```golang
import "github.com/Cyb3r-Jak3/go_har/v2"...
harFile, err := har.ParseHar("")
if err != nil {
log.Fatal(err)
}
```[example](example/simple/main.go)