{"id":19237481,"url":"https://github.com/webrecorder/har2warc","last_synced_at":"2026-03-14T22:06:39.695Z","repository":{"id":57436741,"uuid":"85133941","full_name":"webrecorder/har2warc","owner":"webrecorder","description":"Convert HTTP Archive (HAR) -\u003e Web Archive (WARC) format","archived":false,"fork":false,"pushed_at":"2018-10-21T05:01:44.000Z","size":650,"stargazers_count":51,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-05T20:22:13.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/har2warc","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webrecorder.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-16T00:14:15.000Z","updated_at":"2025-01-25T16:42:10.000Z","dependencies_parsed_at":"2022-09-10T03:23:38.999Z","dependency_job_id":null,"html_url":"https://github.com/webrecorder/har2warc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrecorder%2Fhar2warc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrecorder%2Fhar2warc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrecorder%2Fhar2warc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webrecorder%2Fhar2warc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webrecorder","download_url":"https://codeload.github.com/webrecorder/har2warc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161712,"owners_count":21057639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T16:26:56.894Z","updated_at":"2026-03-14T22:06:34.661Z","avatar_url":"https://github.com/webrecorder.png","language":"Python","readme":"har2warc\n========\n\nConvert HTTP Archive (HAR) -\u003e Web Archive (WARC) format\n\n``pip install har2warc``\n\n\nCommand-Line Usage\n~~~~~~~~~~~~~~~~~~\n\n``har2warc \u003cinput.har\u003e \u003coutput.warc.gz\u003e``\n\n\nLibary Usage\n~~~~~~~~~~~~\n\nhar2warc can be used as a python library.\n\nSimple usage similar to CLI interface:\n\n.. code:: python\n\n   from har2warc.har2warc import har2warc\n\n   har2warc('input.har', 'output.warc.gz')\n\n\nAlso supports reading and writing from buffers:\n\n.. code:: python\n\n   from har2warc.har2warc import har2warc\n\n   har = json.loads(...)\n\n   with open('output.warc.gz', 'w+b') as warc:\n        har2warc(har, warc)\n\n        # READ WARC\n        warc.seek(0)\n        warc.read()\n\n\n","funding_links":[],"categories":["Tools \u0026 Software","[](#table-of-contents) Table of contents"],"sub_categories":["Utilities","[](#warc)Tools for working with WARC (WebARChive) files"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebrecorder%2Fhar2warc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebrecorder%2Fhar2warc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebrecorder%2Fhar2warc/lists"}