summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidshareCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-31 16:01:06 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-31 16:01:06 +0200
commitd9ea19b009e35387740e598fdad9f5de0f2afc59 (patch)
tree6e3c301aceb2aa67f5e4c9d56857027e9bf056da /module/plugins/hoster/RapidshareCom.py
parentlittle fixes (diff)
downloadpyload-d9ea19b009e35387740e598fdad9f5de0f2afc59.tar.xz
cleanup
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r--module/plugins/hoster/RapidshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index 3dfc6d465..cc3101529 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -153,7 +153,7 @@ class RapidshareCom(Hoster):
if re.search(r"(Currently a lot of users|no more download slots|servers are overloaded)", self.html[1], re.I) is not None:
self.log.info(_("Rapidshare: No free slots!"))
self.no_slots = True
- return time() + 130
+ return 130
self.no_slots = False
wait_seconds = re.search(r"var c=(.*);.*", self.html[1]).group(1)
return int(wait_seconds) + 5
@@ -164,7 +164,7 @@ class RapidshareCom(Hoster):
if self.getConf('server') == "None":
file_url_pattern = r".*name=\"dlf\" action=\"(.*)\" method=.*"
else:
- file_url_pattern = '(http://rs.*)\';" /> %s<br />' % getConf('server')
+ file_url_pattern = '(http://rs.*)\';" /> %s<br />' % self.getConf('server')
return re.search(file_url_pattern, self.html[1]).group(1)