Reputation: 21
In Linux we have a command wget -c
with which we can continue or resume the download of the unfinished files. In python
, by importing the wget
library, I am not able to do the following feature. Wget -c
also restricts the re-downloading of the preexisting file. Can anyone help me in finding a
wget -c
equivalent in wget
library of python.?
Upvotes: 2
Views: 1336
Reputation: 11
For HTTP you can use Requests library. It's elegant and simple. This script can be halpfull to download files, resume downloads and validate downloads.
Upvotes: 1
Reputation: 602
I don't know how wedded you are to the wget library, or if you could use alternatives.
You could do the same with urllib2
See this answer to a similar question about resuming a download when a problem arises.
Upvotes: 1