summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidshareCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-30 16:19:37 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-30 16:19:37 +0200
commit8092da86ec029b3a4b16ba68762e8caa1445a270 (patch)
tree424aada934b7951e8d45e2aa4d99d5edf9320c39 /module/plugins/hoster/RapidshareCom.py
parentNEW: 1fichier.com hoster plugin, not info API support yet. (diff)
downloadpyload-8092da86ec029b3a4b16ba68762e8caa1445a270.tar.xz
fixed proxy support, downloadCheck function
Diffstat (limited to 'module/plugins/hoster/RapidshareCom.py')
-rw-r--r--module/plugins/hoster/RapidshareCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index ab99a97f0..f7ee287bc 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -47,14 +47,14 @@ class RapidshareCom(Hoster):
__name__ = "RapidshareCom"
__type__ = "hoster"
__pattern__ = r"http://[\w\.]*?rapidshare.com/(?:files/(?P<id>\d*?)/(?P<name>.+)|#!download\|(?:\d+)\|(?P<id_new>\d+)\|(?P<name_new>[^|]+))"
- __version__ = "1.3"
+ __version__ = "1.31"
__description__ = """Rapidshare.com Download Hoster"""
__config__ = [["server", "Cogent;Deutsche Telekom;Level(3);Level(3) #2;GlobalCrossing;Level(3) #3;Teleglobe;GlobalCrossing #2;TeliaSonera #2;Teleglobe #2;TeliaSonera #3;TeliaSonera", "Preferred Server", "None"]]
__author_name__ = ("spoob", "RaNaN", "mkaay")
__author_mail__ = ("spoob@pyload.org", "ranan@pyload.org", "mkaay@mkaay.de")
def setup(self):
- self.html = [None, None]
+ self.html = None
self.no_download = True
self.api_data = None
self.multiDL = False
@@ -190,7 +190,7 @@ class RapidshareCom(Hoster):
def freeWait(self):
"""downloads html with the important informations
"""
- self.html[1] = self.load(self.pyfile.url,ref=False)
+ self.html = self.load("http://rapidshare.com/files/%s/%s" % (self.id, self.name),ref=False)
sleep(1)