0

How do I rectify the error "urlopen error (11001, 'getaddrinfo failed" in python? also i use a socks

Will McCutchen
  • 13,047
  • 3
  • 44
  • 43
Emma
  • 231
  • 1
  • 4
  • 10

1 Answers1

0

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).

Community
  • 1
  • 1
Alex Martelli
  • 854,459
  • 170
  • 1,222
  • 1,395