Skip to main content

Convert HTTP Archive (HAR) -> Web Archive (WARC) format

Project description

Convert HTTP Archive (HAR) -> Web Archive (WARC) format

pip install har2warc

Command-Line Usage

har2warc <input.har> <output.warc.gz>

Libary Usage

har2warc can be used as a python library.

Simple usage similar to CLI interface:

from har2warc.har2warc import har2warc

har2warc('input.har', 'output.warc.gz')

Also supports reading and writing from buffers:

from har2warc.har2warc import har2warc

har = json.loads(...)

with open('output.warc.gz', 'w+b') as warc:
     har2warc(har, warc)

     # READ WARC

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for har2warc, version 1.0.4
Filename, size File type Python version Upload date Hashes
Filename, size har2warc-1.0.4-py2.py3-none-any.whl (651.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size har2warc-1.0.4.tar.gz (648.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page