Metadata-Version: 2.0
Name: har-extractor
Version: 0.2.1
Summary: HTTP Archive extractor
Home-page: https://github.com/dead-beef/har-extractor
Author: dead-beef
Author-email: contact@dead-beef.tk
License: MIT
Description-Content-Type: UNKNOWN
Keywords: har http archive extractor
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: System :: Archiving
Classifier: Topic :: Utilities
Requires-Python: >=3
Requires-Dist: ijson
Provides-Extra: dev
Requires-Dist: coverage; extra == 'dev'
Requires-Dist: twine (>=1.8.1); extra == 'dev'
Requires-Dist: wheel; extra == 'dev'

har-extractor
=============

Overview
--------

Extractor for
`HAR <https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HAR/Overview.html>`__,
HTTP Archive format.

Requirements
------------

-  `Python 3 <https://www.python.org/>`__

Optional
~~~~~~~~

-  `YAJL 2 <https://lloyd.github.io/yajl/>`__
-  `CFFI <https://pypi.python.org/pypi/cffi>`__

Installation
------------

.. code:: bash

    pip install har-extractor

.. code:: bash

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

Testing
-------

.. code:: bash

    ./test

Usage
-----

::

    usage: har-extractor [-h] [-V] [-v] [-l] [-i] [-s] [-d] [-o DIRECTORY] 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
      -v, --verbose         list extracted files
      -l, --list            list the contents of input file
      -i, --iterative       iteratively parse input file
      -s, --strict          exit and delete extracted data after first error
      -d, --directories     create url directories
      -o DIRECTORY, --output DIRECTORY
                            set output directory (default: ./<filename>.d)

Licenses
--------

-  `har-extractor <https://github.com/dead-beef/har-extractor/blob/master/LICENSE>`__



