Web Crawler - Python or Perl?

Chuck Rhode CRhode at LacusVeris.com
Fri Jun 27 06:22:10 CEST 2008


On Sun, 22 Jun 2008 10:47:59 -0700, subeen wrote:

> You can avoid the problem using the following code:

> import socket

> timeout = 300 # seconds
> socket.setdefaulttimeout(timeout)

Yes, I tried that, too, but I forget what went wrong with it.
Perhaps, the socket kept up the handshake even though the download
stalled.

-- 
.. Chuck Rhode, Sheboygan, WI, USA
.. 1979 Honda Goldwing GL1000 (Geraldine)
.. Weather:  http://LacusVeris.com/WX
.. 73° — Wind Calm



More information about the Python-list mailing list