diff options
author | mkaay <mkaay@mkaay.de> | 2010-12-22 23:44:33 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-12-22 23:44:33 +0100 |
commit | c66a630a502a5e118d8773b32820aca861ce32cd (patch) | |
tree | fa7b4c5d0f107fb2448a3f399041927182e098a5 /module/plugins/hoster | |
parent | final cookie fix :D (diff) | |
download | pyload-c66a630a502a5e118d8773b32820aca861ce32cd.tar.xz |
new download backend integrated so far, downloading works, but still big todo list
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/RapidshareCom.py | 3 | ||||
-rw-r--r-- | module/plugins/hoster/UploadedTo.py | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py index 8370aebb7..8163ffc44 100644 --- a/module/plugins/hoster/RapidshareCom.py +++ b/module/plugins/hoster/RapidshareCom.py @@ -66,7 +66,8 @@ class RapidshareCom(Hoster): if self.account: self.multiDL = True - self.req.canContinue = True + self.chunkLimit = -1 + self.resumeDownload = True def process(self, pyfile): self.url = self.pyfile.url diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py index 5d4798d4e..1bfafc9c6 100644 --- a/module/plugins/hoster/UploadedTo.py +++ b/module/plugins/hoster/UploadedTo.py @@ -38,7 +38,8 @@ class UploadedTo(Hoster): self.url = False if self.account: self.multiDL = True - self.req.canContinue = True + self.chunkLimit = -1 + self.resumeDownload = True def process(self, pyfile): @@ -157,4 +158,4 @@ class UploadedTo(Hoster): url = url.replace("/?id=", "/file/") url = url.replace("?id=", "file/") url = re.sub("/\?(.*?)&id=", "/file/", url, 1) - return url
\ No newline at end of file + return url |