我正在使用 mitmproxy,我想使用此脚本 har_extractor.py ( https://raw.githubusercontent.com/mitmproxy/mitmproxy/master/examples/har_extractor.py )将我的流转换为 .har 格式
我无法从此依赖项https://github.com/JustusW/harparser导入 HAR 名称,并且我不想全局安装它,因为我在 Python 2.7 上的 Mac OS 上运行。
此行永远不起作用:从 harparser import HAR 我得到一个回溯错误:ImportError: cannot import name HAR
但是我可以 - 导入 harparser