timeout on urllib.urlopen?

Kevin L kevinsl at yahoo.com
Mon Apr 26 00:48:44 EDT 1999


I'm trying to use urllib.urlopen() on a big list of urls, some of which are
dead (they don't return a 404, just no response). And the function just waits.
Is there any way to specify a timeout period for this function? thanks,

Kevin

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




More information about the Python-list mailing list