From 84704fb71130288ba71ad6c6f74ec31892814eea Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 8 Jun 2009 18:21:18 +0200 Subject: rapidshare plugin fix --- Plugins/RapidshareCom.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'Plugins/RapidshareCom.py') diff --git a/Plugins/RapidshareCom.py b/Plugins/RapidshareCom.py index ebe526903..362c2cf73 100644 --- a/Plugins/RapidshareCom.py +++ b/Plugins/RapidshareCom.py @@ -50,12 +50,17 @@ class RapidshareCom(Plugin): self.html[0] = html self.html_old = time() + self.download_serverhtml() + def download_serverhtml(self): """downloads html with the important informations """ if self.html[0] == None: self.download_html() - + + if self.config['premium']: + return False + file_server_url = re.search(r"
.+/(.+)