/petit_downloader

Primary LanguagePythonApache License 2.0Apache-2.0

[Latest Version = 0.17]

[Installation]

$ pip install Fancy_Downloader

##[How to use]

from petit_downloader import Download
d = Download(url=url, filename="test.zip", type="serial") #verbose requeries the Fancy_Progressbar lib
d.download()

Download types available

  • basic
  • serial
  • parrarel
  • serial_parralel

Objects available

Download()
DownloadContainer()
Action(func, *args)

Update

Can now reload stopped download in order to continue it, use :

# here you load the json data from the file or your db
d:DownloadProgressSave = ...
download = from_save(d)
# this will resume your download
download.download()