diff options
author | spoob <spoob@gmx.de> | 2009-12-17 15:30:25 +0100 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-12-17 15:30:25 +0100 |
commit | 502a9567941d562883a9464555a64a40590d7eed (patch) | |
tree | a84fcaf265ed44e3add7a409ddbb7b1a5edcbfd3 /module/plugins/RapidshareCom.py | |
parent | new images, status ajax, add jquery (diff) | |
download | pyload-502a9567941d562883a9464555a64a40590d7eed.tar.xz |
Little Rapidshare Fix
Diffstat (limited to 'module/plugins/RapidshareCom.py')
-rw-r--r-- | module/plugins/RapidshareCom.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/RapidshareCom.py b/module/plugins/RapidshareCom.py index ee1d84a75..c4e1f8ef9 100644 --- a/module/plugins/RapidshareCom.py +++ b/module/plugins/RapidshareCom.py @@ -115,8 +115,8 @@ class RapidshareCom(Plugin): if premkbleft < int(self.api_data["size"][0:-3]): self.logger.info("Rapidshare: Not enough traffic left") self.config["premium"] = False - - self.props["premkbleft"] = premkbleft + else: + self.props["premkbleft"] = premkbleft def download_html(self): """ gets the url from self.parent.url saves html in self.html and parses @@ -133,7 +133,9 @@ class RapidshareCom(Plugin): self.html_old = time() if re.search(r"is already downloading", self.html[1]) != None: - self.time_plus_wait = time() + 10 * 60 + self.logger.info("Rapidshare: Already downloading, wait 30 minutes") + self.time_plus_wait = time() + 10 * 30 + return False self.no_slots = False try: wait_minutes = re.search(r"Or try again in about (\d+) minute", self.html[1]).group(1) |