From 0865f2ad15d2775a6caa7760ef86aa3251ad457f Mon Sep 17 00:00:00 2001 From: Jeix Date: Mon, 16 Apr 2012 15:42:56 +0200 Subject: closed #571 should fix the error message --- module/plugins/hoster/ShareonlineBiz.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index 6e6ee1f3e..cb624e7a2 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -43,7 +43,7 @@ class ShareonlineBiz(Hoster): __name__ = "ShareonlineBiz" __type__ = "hoster" __pattern__ = r"http://[\w\.]*?(share\-online\.biz|egoshare\.com)/(download.php\?id\=|dl/)[\w]+" - __version__ = "0.26" + __version__ = "0.27" __description__ = """Shareonline.biz Download Hoster""" __author_name__ = ("spoob", "mkaay", "zoidberg") __author_mail__ = ("spoob@pyload.org", "mkaay@mkaay.de", "zoidberg@mujmail.cz") @@ -66,8 +66,9 @@ class ShareonlineBiz(Hoster): self.handleFree() check = self.checkDownload({"invalid" : re.compile("(This download ticket is.*?)"), - "error" : re.compile("(Es ist ein unbekannter Fehler aufgetreten|An unknown error has occurred)")}) - if check in ("invalid", "error"): + "error" : re.compile("(Es ist ein unbekannter Fehler aufgetreten|An unknown error has occurred)"), + "cookie" : re.compile(r"Ihr Browser verfügt leider nicht über einen gültigen Sitzungs Cookie")}) + if check in ("invalid", "error", "cookie"): self.logError(self.lastCheck.group(1)) if self.premium: self.account.getAccountInfo(self.user, True) -- cgit v1.2.3