From d5d580b693af56d286008da47a3e30bdc5f79aed Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 12 Mar 2011 11:32:50 +0100 Subject: closed #246, #247, #248, #249, --- module/plugins/hoster/RapidshareCom.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster/RapidshareCom.py') 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 -- cgit v1.2.3