summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar root <root@vadmin550> 2010-03-07 23:08:04 +0100
committerGravatar root <root@vadmin550> 2010-03-07 23:08:04 +0100
commitcfe05e218001fc99747ff72d9b20f1e99979c486 (patch)
treebd08e6067930defb9fd2b7933257591b2f658c28
parentwebif. icons, storage.to fix (diff)
downloadpyload-cfe05e218001fc99747ff72d9b20f1e99979c486.tar.xz
Rapidshare API Bug solved
-rw-r--r--module/config/plugin_default.xml6
-rw-r--r--module/plugins/hoster/RapidshareCom.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/module/config/plugin_default.xml b/module/config/plugin_default.xml
index c1261e338..2cd4f579d 100644
--- a/module/config/plugin_default.xml
+++ b/module/config/plugin_default.xml
@@ -2,9 +2,9 @@
<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>
- <username></username>
- <password></password>
+ <premium>True</premium>
+ <username>7155928</username>
+ <password>s5EBetrEja</password>
</RapidshareCom>
<NetloadIn>
<premium>False</premium>
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