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
warc.seek(0)
warc.read()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
har2warc-1.0.4.tar.gz
(648.7 kB
view hashes)
Built Distribution
har2warc-1.0.4-py2.py3-none-any.whl
(651.6 kB
view hashes)
Close
Hashes for har2warc-1.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027accfd5c94ea3e9f8c5a98b9b86d397b583d26422e8cd4a23b20079b8ff411 |
|
MD5 | 08439d8d60c94f613666154c2a39ff2f |
|
BLAKE2b-256 | 247fa0efb71790f5ffdbba80c9561406e988312d65c5c1c3653925db4758dc20 |