From 8092da86ec029b3a4b16ba68762e8caa1445a270 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 30 Sep 2010 16:19:37 +0200 Subject: fixed proxy support, downloadCheck function --- module/plugins/hoster/RapidshareCom.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/RapidshareCom.py') 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\d*?)/(?P.+)|#!download\|(?:\d+)\|(?P\d+)\|(?P[^|]+))" - __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) -- cgit v1.2.3