urllib2.urlopen hangs, urllib.urlopen works?
I have an odd behaviour. I try to download some files connected to a
specific webpage (e.g. all stylesheets) with
This seems to hang on the 2nd file or so.
Doing the exact same thing via
does work without a hitch...
I don't really to use urllib instead of urllib2 but am wondering where
the problem is and if there is a workaround (or just my own stupidity)?
Also with urllib I cannot send my own user-agent header as i wanted to do...
thanks for any hint!
|All times are GMT. The time now is 09:19 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.