tags:

views:

52

answers:

1

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