summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-27 20:38:38 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-27 20:38:38 +0200
commitef8fdc603ad2281da6b5beb03fc987da082fd819 (patch)
tree5d9c25c9eb5a337c6af343328514c88efb573b10 /module
parentrs fix (diff)
downloadpyload-ef8fdc603ad2281da6b5beb03fc987da082fd819.tar.xz
rs blocked ip fix
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/RapidshareCom.py8
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