4thel00z / dwnld

A small download helper library for Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dwnld

dwnld.png

Motivation

A library to download stuff given urls with different protocols, like ftp://... or ssh://....

Usage

There is only one interesting module level function in this repo, it can download (or move) stuff from A to B:

from dwnld import download

download("file://stuff.txt", "somewhere_else.txt")
download("ssh://some-remote-server:/home/reptile/stuff.txt", "here.txt")
download("https://cool.com/nice.pdf", "here.pdf")
download("http://cool.com/nice.pdf", "here.pdf")
# supports tor via
download("onion://cool.onion/here.pdf", "here.pdf", proto="https")

Todos

  • Support ftp/sftp
  • Support torrent
  • Support non-default ports for tor/socks4/socks5 server

License

This project is licensed under the GPL-3 license.

About

A small download helper library for Python.

License:GNU General Public License v3.0


Languages

Language:Python 87.6%Language:Makefile 12.4%