Coder Social home page Coder Social logo

wgetter's Introduction

About

Wgetter is another command line download utility written completely in python. It is based on python-wget (https://bitbucket.org/techtonik/python-wget/src) with some improvements.

It works on python >= 2.6 or python >=3.0 Runs on Windows or Linux or Mac

Usage

python -m wgetter <URL>

API Usage

>>> import wgetter
>>> filename = wgetter.download('https://sites.google.com/site/doctormike/pacman-1.2.tar.gz', outdir='/home/user')
100 % [====================================================>] 19.9KiB / 19.9KiB  100.0KiB/s  eta 0:00:01
>>> filename
'/home/user/pacman-1.2.tar.gz'

Obs.: If not set, output directory (outdir) defaults to current directory

Installation

Using PIP:

pip install wgetter

Manually:

Get the tarball at

https://github.com/phoemur/wgetter/tarball/0.6

or git clone

git clone https://github.com/phoemur/wgetter.git

Then

python setup.py install

Changelog

0.7 (2017-07-01)

  • Some Bug Fixes

0.6 (2015-03-07)

  • Some Bug Fixes

0.5.1 (2014-08-25)

  • Added improved bar and estimated transfer time

0.3 (2014-03-08)

  • Added the option to set download's output directory

0.2 (2014-03-06)

  • Init version, uses urllib2 instead of urlretrieve (deprecated), reads in chunks with network transfer rate calculation. Fancy bar. Human readable file-sizes. Checks Md5 if available and download final size. It's a heavy modification of python-wget made for my needs that i decided to share.

wgetter's People

Contributors

phoemur avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.