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()
Metadata
Release files for har2warc 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| har2warc-1.0.4.tar.gz | 648.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| har2warc-1.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / har2warc-1.0.4.tar.gz
| Download URL | har2warc-1.0.4.tar.gz |
|---|---|
| Size | 648.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d795e48acbea083b7c731137f5ac0b3d145e5ed9d468b827957d73c1ebc3027c
|
|
BLAKE2b-256 checksum How to use checksums |
2a00643d545b176b1084af49963d11bebe6ce5ebe118a46ee0be71b719962bd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/3.5.3
|
Release files / har2warc-1.0.4-py2.py3-none-any.whl
| Download URL | har2warc-1.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 651.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
027accfd5c94ea3e9f8c5a98b9b86d397b583d26422e8cd4a23b20079b8ff411
|
|
BLAKE2b-256 checksum How to use checksums |
247fa0efb71790f5ffdbba80c9561406e988312d65c5c1c3653925db4758dc20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.15.0 CPython/3.5.3
|