How does one configure a proxy upstream of browsermob on osx?

感情迁移 提交于 2019-11-28 06:07:53

问题


I'm looking to configure an upstream proxy for browsermob, preferably programmatically from within a python or shell script.

It doesn't look like the python bindings for browsermob include an upstream-proxy configuration command or method. Is there another method I can use?


回答1:


The python bindings do actually allow you to configure an upstream proxy. When creating a proxy using create_proxy, you can set the value of httpProxy to the IP address and port of the upstream proxy (see the params parameter on create_proxy for details).



来源:https://stackoverflow.com/questions/39459171/how-does-one-configure-a-proxy-upstream-of-browsermob-on-osx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!