summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-27 20:05:07 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-27 20:05:07 +0200
commit01949e770c19fdc35cd2b0c2b9b88d6908908d63 (patch)
tree9271a67e8002e2d01fe077b29950f3d2fa16f00f
parentrs plugin improvements (diff)
downloadpyload-01949e770c19fdc35cd2b0c2b9b88d6908908d63.tar.xz
rs fix
-rw-r--r--module/plugins/hoster/RapidshareCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index 066f2a34c..4f43fe0d4 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -112,7 +112,6 @@ class RapidshareCom(Hoster):
while self.no_download:
dl_dict = self.freeWait()
-
download = "http://%(host)s/cgi-bin/rsapi.cgi?sub=download_v1&editparentlocation=1&bin=1&fileid=%(id)s&filename=%(name)s&dlauth=%(auth)s#!download|%(server)s|%(id)s|%(name)s|%(size)s" % dl_dict
self.download(download)
@@ -153,8 +152,8 @@ class RapidshareCom(Hoster):
6=File OK (TrafficShare direct download with enabled logging)
"""
self.api_data = {"fileid": fields[0], "filename": fields[1], "size": int(fields[2]), "serverid": fields[3],
- "status": fields[4], "shorthost": fields[5], "checksum": fields[6].strip().lower(),
- "mirror": "http://rs%(serverid)s%(shorthost)s.rapidshare.com/files/%(fileid)s/%(filename)s" % self.api_data}
+ "status": fields[4], "shorthost": fields[5], "checksum": fields[6].strip().lower()}
+ self.api_data["mirror"] = "http://rs%(serverid)s%(shorthost)s.rapidshare.com/files/%(fileid)s/%(filename)s" % self.api_data
def freeWait(self):
"""downloads html with the important informations