Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 967 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 967 Bytes

Simple-Python-Downloader

Simple python program that can be used to download files, and show progress bar, in which you can use your own scale (for example instead of KB or MB or B, if you want you can download chunks of sizes like 69 Bytes, or 420 Bytes if you find it funny)

That's one of my first project when i started with programming, and this code is probably very messy, but fact that it's old project that i abondoned it really long time ago, i decided that i won't do any changes and just publish this here.

Usage

You simply type python download.py (link to file to download) and if you want you can change scale (KB default) by adding --chunk_size (Scale you want to use) and then progress bar will update everytime that amount of Bytes was downloaded.

So yeah that's it. Have fun of my messy code.

Defaultly if you use 1, 1024 or 1048576 as chunk size it will set into B, KB or MB, because old me thought that was a really cool functionality.