I m using mitmproxy, and I want to convert my flows into .har format using this script har_extractor.py (https://raw.githubusercontent.com/mitmproxy/mitmproxy/master/examples/har_extractor.py)
I can't import the HAR name from this dependency https://github.com/JustusW/harparser, and I don't want to install it globally because I m running on Mac OS on Python 2.7.
This line never works: from harparser import HAR I get a traceback error: ImportError: cannot import name HAR
I can however - import harparser
Harparser was updated on June 23 [1]. Did that resolve the issue?
It does contain the HAR function:
[1] https://pypi.python.org/pypi/harparser/