如何在osx上的browsermob上游配置代理? [英] How does one configure a proxy upstream of browsermob on osx?

查看:99
本文介绍了如何在osx上的browsermob上游配置代理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望为browsermob配置上游代理,最好从python或shell脚本中以编程方式配置.

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

看来,browsermob的python绑定不包含上游代理配置命令或方法.我可以使用另一种方法吗?

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?

推荐答案

python绑定实际上允许您配置上游代理.使用create_proxy创建代理时,可以将httpProxy的值设置为上游代理的IP地址和端口(请参见

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).

这篇关于如何在osx上的browsermob上游配置代理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆