har-extractor

HTTP Archive extractor


Keywords
har, http, archive, extractor, archive-parser, http-archive, python-script, python3
License
MIT
Install
pip install har-extractor==1.0.1

Documentation

har-extractor

Overview

Extractor for HAR, HTTP Archive format.

Requirements

Optional

Installation

pip install har-extractor

Usage

usage: har-extractor [-h] [-V] [-l] [-o DIRECTORY] [-v] [-nv] [-i] [-ni]
                     [-s] [-ns] [-d] [-nd]
                     FILE

positional arguments:
  FILE                  HAR file

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  -l, --list            list the contents of input file
  -o DIRECTORY, --output DIRECTORY
                        set output directory (default: ./<filename>.d)
  -v, --verbose         turn on verbose output (default)
  -nv, --no-verbose     turn off verbose output
  -i, --iterative       use iterative json parser
  -ni, --no-iterative   do not use iterative json parser (default)
  -s, --strict          exit and delete extracted data after first error
  -ns, --no-strict      ignore errors (default)
  -d, --directories     create url directories (default)
  -nd, --no-directories
                        do not create url directories

Development

Installation

git clone https://github.com/dead-beef/har-extractor
cd har-extractor
pip install -e .[dev]

Building

./build.sh

Testing

./test

Licenses