urllib.urlopen: Errno socket error
kgrafals at gmail.com
kgrafals at gmail.com
Tue Oct 17 10:55:35 EDT 2006
Dennis,
I tried a ProxyHandler with the following code ...
proxy_support = urllib2.ProxyHandler({})
opener = urllib2.build_opener(proxy_support)
urllib2.install_opener(opener)
... but it's giving me the same result.
Then I tried to tunnel using code from ...
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/213238
... but it too gave me an error ...
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
tunnel.run(tunnel_this)
File "C:/Python25/My Python/PyTunnel.py", line 124, in run
Threads.append( thread_it(tid=0,proxy=self.get_proxy(),\
File "C:/Python25/My Python/PyTunnel.py", line 81, in get_proxy
proxy.connect((self._phost,self._pport))
File "<string>", line 1, in connect
gaierror: (11001, 'getaddrinfo failed')
More information about the Python-list
mailing list