download icon indicating copy to clipboard operation
download copied to clipboard

A quick helper module to download files online.

Results 12 download issues
Sort by recently updated
recently updated
newest added

Rst doesn't support nested markup apparently.

Currently, `download` doesn't allow many file formats for automatic unpacking. We could consider using other tool to handle unpacking, for example: - https://github.com/wummel/patool - https://github.com/ponty/pyunpack

For example ```python import download d = download.Downloader(progress=True, verbose=False) d.download("http://example.org/a.zip", "a.zip") ```

Not only does this look like a hack (in terms of some non-dropbox urls containing "dropbox.com" somewhere in their name), it's also quite unfortunate if you download large files from...

can add headers to download file for example must login first condition

enhancement

If you put `tests` folder in `download` folder then it means that EVERY user installed this package has these files in package folder.

RuntimeError: Error while fetching file http://.................. Dataset fetching aborted. the file is pdf and 30+M why it can't download?

in addition to unpacking zip files, would be handy if it could do tarfiles as well.

The same functionality is implemented in `tempfile.TemporaryDirectory`

Example: ``` from download import download urls = [ "https://github.com/CrafterKolyan/mmp-practicum-sql-fall-2019-db-dump/raw/master/trjudge_sql_dump_2019.zip.part0", "https://github.com/CrafterKolyan/mmp-practicum-sql-fall-2019-db-dump/raw/master/trjudge_sql_dump_2019.zip.part1" ] download(urls, ["dump.zip.part0", "dump.zip.part1"], threads=2) ```