diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-27 20:38:38 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-27 20:38:38 +0200 |
commit | ef8fdc603ad2281da6b5beb03fc987da082fd819 (patch) | |
tree | 5d9c25c9eb5a337c6af343328514c88efb573b10 /module/plugins/hoster/RapidshareCom.py | |
parent | rs fix (diff) | |
download | pyload-ef8fdc603ad2281da6b5beb03fc987da082fd819.tar.xz |
rs blocked ip fix
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r-- | module/plugins/hoster/RapidshareCom.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py index 4f43fe0d4..ea464bf02 100644 --- a/module/plugins/hoster/RapidshareCom.py +++ b/module/plugins/hoster/RapidshareCom.py @@ -172,7 +172,11 @@ class RapidshareCom(Hoster): between_wait = re.search("You need to wait (\d+) seconds", result) - if between_wait: + if "You need RapidPro to download more files from your IP address" in result: + self.setWait(60) + self.log.info(_("Already downloading from this ip address, waiting 60 seconds")) + self.wait() + elif between_wait: self.setWait(int(between_wait.group(1))) self.wantReconnect = True self.wait() @@ -189,7 +193,7 @@ class RapidshareCom(Hoster): "server": self.api_data["serverid"], "size": self.api_data["size"] } - self.setWait(int(data[2])) + self.setWait(int(data[2])+1) self.wait() return dl_dict |