diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-12 11:32:50 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-12 11:32:50 +0100 |
commit | d5d580b693af56d286008da47a3e30bdc5f79aed (patch) | |
tree | 6b28d05892b0c7ce2efaede84ea69bd3c9725142 /module/plugins/hoster/RapidshareCom.py | |
parent | fileserv error message (diff) | |
download | pyload-d5d580b693af56d286008da47a3e30bdc5f79aed.tar.xz |
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r-- | module/plugins/hoster/RapidshareCom.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py index 2f6ce4739..6a4eedd51 100644 --- a/module/plugins/hoster/RapidshareCom.py +++ b/module/plugins/hoster/RapidshareCom.py @@ -107,7 +107,7 @@ class RapidshareCom(Hoster): self.download(self.pyfile.url) - elif self.api_data["status"] in ("4","5"): + elif self.api_data["status"] in ("0","4","5"): self.offline() else: self.fail("Unknown response code.") @@ -202,6 +202,8 @@ class RapidshareCom(Hoster): self.setWait(120) self.log.info(_("RapidShareCom: No free slots")) self.wait() + elif "This file is too big to download it for free" in result: + self.fail(_("You need a premium account for this file")) elif between_wait: self.setWait(int(between_wait.group(1))) self.wantReconnect = True |