Skip to content

mutaku/PyWGET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

This is a quick wget alternative modified from an example by guido van rossum

The progress monitor [prog.py] is based off an excellent example in the python cookbook from o'reilly 

everything works off standard python modules including urllib

wget.py and prog.py should be in the same directory or make sure you put prog.py in your python path


Sources: http://books.google.com/books?id=1shx_vxs6ioc&dq=isbn:0596007973&ei=fpg-tog-cpkeygtstngnba
code adapted and tweaked a bit from these recipes
wget - introduction of network programming
progress - 11.1


to invoke:

        single file downloading

        $ ./wget.py http://example.com/myfile.tgz

        multiple file downloading

        $ ./wget.py http://example.com/a.tgz http://example2.com/b.zip http://example.com/c.tgz

files will be downloaded to the current working directory


changes:

        0.2 -
                files will not be overwritten if exist (adds a unix timestamp to name if already exists)


xiao_haozi 10-8-2010 xiao_haozi@mutaku.com

About

Python-based WGET

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages