在没有系统默认代理的情况下使用 URLLIB Python
我有一个小脚本需要与我通信,它是我代理的一部分。该脚本需要在代理启动之前运行,但系统设置为使用代理,因此它没有通过。我如何使用 urllib,而不是默认代理?
I have a small script that needs to communicate with me, it is part of my proxy. The script needs to run before the proxy starts, but the system is set to use the proxy, so it does not go through. How would I use urllib, but not the default proxy?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
urllib 文档:
所以只需使用
proxies={}
。urllib docs:
So just use
proxies={}
.