summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/config/plugin_default.xml2
-rw-r--r--module/plugins/hoster/RapidshareCom.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/config/plugin_default.xml b/module/config/plugin_default.xml
index c1261e338..0b0cd1949 100644
--- a/module/config/plugin_default.xml
+++ b/module/config/plugin_default.xml
@@ -2,7 +2,7 @@
<config name="Configuration" version="0.1">
<RapidshareCom>
<server input=";Cogent;Deutsche Telekom;Level(3);Level(3) #2;GlobalCrossing;Level(3) #3;Teleglobe;GlobalCrossing #2;TeliaSonera #2;Teleglobe #2;TeliaSonera #3;TeliaSonera"></server>
- <premium>False</premium>
+ <premium>True</premium>
<username></username>
<password></password>
</RapidshareCom>
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index d45789f33..14dacb9d5 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -113,7 +113,7 @@ class RapidshareCom(Plugin):
self.logger.info("Rapidshare: Login failed")
return
fields = src.split("\n")
- premkbleft = int(fields[19].split("=")[1])
+ premkbleft = int(fields[18].split("=")[1])
if premkbleft < int(self.api_data["size"][0:-3]):
self.logger.info(_("Rapidshare: Not enough traffic left"))
self.config["premium"] = False