question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

har_extractor.py usage example

See original GitHub issue

I don’t know if I’m just looking in the wrong place, but I’ve been trying to convert a flow to a har for hours and am hitting road block after road block (largely due to python acquisition/package management). Now I have everything in place and I still don’t really have any idea how to “use” har_extractor.py.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
itaibhcommented, Mar 7, 2021

For anyone reading this, as for mitmproxy version 6.0.2, this worked for me:

mitmdump -n -r test.dump -s har_dump.py --set hardump=test.har

You can find har_dump.py on a Linux installation in this directory: /usr/share/doc/mitmproxy/examples/complex, or just get it here: https://github.com/mitmproxy/mitmproxy/blob/master/examples/contrib/har_dump.py

0reactions
kimsangsoocommented, Jan 4, 2017

I have error

  • Script error: TypeError: done() takes exactly 1 argument (0 given) -

cmd : mitmdump -n -r test.dump -s “har_extractor.py test.har”

Read more comments on GitHub >

github_iconTop Results From Across the Web

har-extractor - PyPI
Overview. Extractor for HAR, HTTP Archive format. Requirements. Python 3. Optional. YAJL 2 · CFFI. Installation. pip install har-extractor. Usage.
Read more >
azu/har-extractor: A CLI that extract har file to directory. - GitHub
A CLI that extract har file to directory. HTTP Archive (HAR) format. Install. Install with npm: npm install har-extractor - ...
Read more >
HARX - HAR (HTTP Archive) eXtractor Tool - Ruan Müller
This utility was developed to assist security analysts working with HTTP Archive (HAR) files to list and extract the contained objects. More ...
Read more >
mitmproxy - har_extractor.py can't import HAR from harparser
I m using mitmproxy, and I want to convert my flows into .har format using this script har_extractor.py ...
Read more >
har-extractor - npm
A CLI that extract har file to directory.. Latest version: 1.1.2, last published: 10 months ago. Start using har-extractor in your project ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found