I'm wanting to use a proxy connection in Python 3, something simple.
I would like an alternative to the method used in Python 2
proxy = {"http":"http://178.22.148.122:3129"}
urllib.urlopen("http://httpbin.org/ip", proxies = proxy).read()
I try with
urllib.request.urlopen("http://httpbin.org/ip", proxies = proxy).read()
But he tells me:
Unexpected keyword argument 'proxies'
Thanks for your answers!