summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-12-16 14:51:31 +0100
committerGravatar spoob <spoob@gmx.de> 2009-12-16 14:51:31 +0100
commiteb1de8d5c9a5beaa58347d839e4666bdcea57c1e (patch)
treee8e76f88d43703d2257b7d595fe6a2eac602ca9f /module
parentbetter Rapidshare Premium, fixed #44 (diff)
downloadpyload-eb1de8d5c9a5beaa58347d839e4666bdcea57c1e.tar.xz
Fixed Rapidshare Traffic Share Bug
Diffstat (limited to 'module')
-rw-r--r--module/plugins/RapidshareCom.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/RapidshareCom.py b/module/plugins/RapidshareCom.py
index 3e3934888..ee1d84a75 100644
--- a/module/plugins/RapidshareCom.py
+++ b/module/plugins/RapidshareCom.py
@@ -30,7 +30,6 @@ class RapidshareCom(Plugin):
self.url = self.parent.url
self.read_config()
if self.config['premium']:
-
self.multi_dl = True
else:
self.multi_dl = False
@@ -44,7 +43,6 @@ class RapidshareCom(Plugin):
self.download_api_data()
if self.api_data["status"] == "1":
-
pyfile.status.filename = self.get_file_name()
if self.config["premium"]:
self.logger.info("Rapidshare: Use Premium Account (%sGB left)" % (self.props["premkbleft"]/1000000))
@@ -61,6 +59,11 @@ class RapidshareCom(Plugin):
pyfile.status.url = self.get_file_url()
return True
+ elif self.api_data["status"] == "2":
+ self.logger.info("Rapidshare: Traffic Share (direct download)")
+ pyfile.status.filename = self.get_file_name()
+ pyfile.status.url = self.parent.url
+ return True
else:
raise Exception, "The file was not found on the server."