I open urls with:
site = urllib2.urlopen(\'http://google.com\')
And what I want to do is connect the same way with a proxy I got somewhere telli
You have to install a ProxyHandler
urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler({'http': '127.0.0.1'}) ) ) urllib2.urlopen('http://www.google.com')