diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-19 14:49:19 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-19 14:49:19 +0100 |
commit | 216b61197147e9d230dcc2e5faa8e63db740001e (patch) | |
tree | 24e5602ceced37b5eb1c9e71697a6097de41ecfa /module/network/HTTPDownload.py | |
parent | new experimental backend, new gui status (unfinished) (diff) | |
download | pyload-216b61197147e9d230dcc2e5faa8e63db740001e.tar.xz |
little changes
Diffstat (limited to 'module/network/HTTPDownload.py')
-rw-r--r-- | module/network/HTTPDownload.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/network/HTTPDownload.py b/module/network/HTTPDownload.py index 78dc00d72..98941ff08 100644 --- a/module/network/HTTPDownload.py +++ b/module/network/HTTPDownload.py @@ -21,7 +21,7 @@ from HTTPChunk import HTTPChunk from helper import * from os.path import exists, getsize from os import remove -from shutil import move, copyfileobj +#from shutil import move, copyfileobj from cookielib import CookieJar @@ -271,7 +271,7 @@ if __name__ == "__main__": #bucket.setRate(200*1000) bucket = None - url = "http://mirror.sov.uk.goscomb.net/ubuntu-releases/maverick/ubuntu-10.10-desktop-i386.iso" + url = "http://speedtest.netcologne.de/test_100mb.bin" finished = False def err(*a, **b): @@ -283,7 +283,7 @@ if __name__ == "__main__": print "starting" - dwnld = HTTPDownload(url, "ubuntu.iso") + dwnld = HTTPDownload(url, "test_100mb.bin") d = dwnld.download(chunks=1, resume=True) d.addCallback(callb) d.addErrback(err) |