Difference between Python urllib.urlretrieve() and wget
Posted
by jrdioko
on Stack Overflow
See other posts from Stack Overflow
or by jrdioko
Published on 2010-05-05T22:04:45Z
Indexed on
2010/05/05
22:08 UTC
Read the original article
Hit count: 266
I am trying to retrieve a 500mb file using Python, and I have a script which uses urllib.urlretrieve()
. There seems to some network problem between me and the download site, as this call consistently hangs and fails to complete. However, using wget
to retrieve the file tends to work without problems. What is the difference between urlretrieve()
and wget
that could cause this difference?
© Stack Overflow or respective owner