Skip to content

dead-beef/har-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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