From cf8fea4179a673ffe2ec50de3a5d948a61f849aa Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 27 Jun 2011 19:41:03 +0200 Subject: Shareonline, zshare fix, testing __slots__ attribute --- module/plugins/hoster/ShareonlineBiz.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hoster/ShareonlineBiz.py') diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index 360f0d788..03f24a2c9 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -38,7 +38,7 @@ class ShareonlineBiz(Hoster): __name__ = "ShareonlineBiz" __type__ = "hoster" __pattern__ = r"http://[\w\.]*?(share\-online\.biz|egoshare\.com)/(download.php\?id\=|dl/)[\w]+" - __version__ = "0.2" + __version__ = "0.21" __description__ = """Shareonline.biz Download Hoster""" __author_name__ = ("spoob", "mkaay") __author_mail__ = ("spoob@pyload.org", "mkaay@mkaay.de") @@ -89,7 +89,7 @@ class ShareonlineBiz(Hoster): self.setWait(120) self.log.info("%s: no free slots, waiting 120 seconds" % self.__name__) self.wait() - self.retry() + self.retry(max_tries=60) if "Captcha number error or expired" in self.html: captcha = self.decryptCaptcha("http://www.share-online.biz/captcha.php", get={"rand":"0.%s" % random.randint(10**15,10**16)}) @@ -149,7 +149,7 @@ class ShareonlineBiz(Hoster): except: self.fail("Session issue") - self.download(download_url, cookies=True) + self.download(download_url) def checksum(self, local_file): if self.api_data and self.api_data["checksum"]: -- cgit v1.2.3