How do I rectify the error "urlopen error (11001, 'getaddrinfo failed" in python? also i use a socks
Asked
Active
Viewed 587 times
0
-
You're going to have to provide *a lot* more context if you want to get some help... – Ned Batchelder May 16 '10 at 21:44
-
Does your proxy require authentication? – Greg Hewgill May 16 '10 at 21:44
1 Answers
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