How to use Python to create an HTTP request through a proxy?
What do I need to do for the following code?
urllib.urlopen('http://www.google.com')
The urlopen function supports proxies. Try something like this:
urlopen
urllib.urlopen(your_url, proxies = {"http" : "http://192.168.0.1:80"})
You can see PycURL . I use cURL a lot in PHP and I like it. Although there is probably an easy way to do this now in Python.