How do I rectify the error "urlopen error (11001, 'getaddrinfo failed" in python? also i use a socks
A:
So urlopen cannot find the URL you desire. What socks proxy are you using -- socksipy, for example? Maybe you haven't integrated it correctly in your use of (I imagine) urllib2.
This SO question shows and points to some approaches for using a socks proxy with Python (pycurl is the way I'd choose to do it, if it was up to me).
Alex Martelli
2010-05-17 00:37:00