/go_har

GoLang Module for parsing HAR Files

Primary LanguageGoMozilla Public License 2.0MPL-2.0

GO_HAR

Go Go Report Card GoDoc

GitHub go.mod Go version GitHub DeepSource DeepSource

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 and Chrome. PRs containing HAR files from other browsers are welcome.

Getting started

Download

go get -u github.com/Cyb3r-Jak3/go_har/v2

Using

import "github.com/Cyb3r-Jak3/go_har/v2"

...
harFile, err := har.ParseHar("<filepath>")
if err != nil {
    log.Fatal(err)
}

example