diff options
author | Jeix <devnull@localhost> | 2012-04-16 15:42:56 +0200 |
---|---|---|
committer | Jeix <devnull@localhost> | 2012-04-16 15:42:56 +0200 |
commit | 0865f2ad15d2775a6caa7760ef86aa3251ad457f (patch) | |
tree | 75912d322b8f5edb6426f76c7f65abfb992686a8 | |
parent | closed #579 (diff) | |
download | pyload-0865f2ad15d2775a6caa7760ef86aa3251ad457f.tar.xz |
closed #571 should fix the error message
-rw-r--r-- | module/plugins/hoster/ShareonlineBiz.py | 7 |
1 files 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("<strong>(This download ticket is.*?)</strong>"), - "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"<span class='udl'>Ihr Browser</span> verfügt leider nicht über einen gültigen <span class='udl'>Sitzungs Cookie</span>")}) + if check in ("invalid", "error", "cookie"): self.logError(self.lastCheck.group(1)) if self.premium: self.account.getAccountInfo(self.user, True) |