summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar stefanos <antispam-github-com@trash-mail.com> 2014-05-05 14:19:53 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-05-05 14:19:53 +0200
commita909b0ab66cc9f2ba1435a4ed1293c66050a7507 (patch)
tree7d56536b47c9aec4ade34f8742dbfbf7ada583f3 /module
parentUpdate ZippyshareCom (diff)
downloadpyload-a909b0ab66cc9f2ba1435a4ed1293c66050a7507.tar.xz
Update ShareonlineBiz
Merges #607
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/ShareonlineBiz.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py
index f53834231..d3aeafc84 100644
--- a/module/plugins/hoster/ShareonlineBiz.py
+++ b/module/plugins/hoster/ShareonlineBiz.py
@@ -39,7 +39,7 @@ class ShareonlineBiz(Hoster):
__name__ = "ShareonlineBiz"
__type__ = "hoster"
__pattern__ = r'https?://(?:www\.)?(share-online\.biz|egoshare\.com)/(download.php\?id=|dl/)(?P<ID>\w+)'
- __version__ = "0.38"
+ __version__ = "0.39"
__description__ = """Shareonline.biz hoster plugin"""
__author_name__ = ("spoob", "mkaay", "zoidberg", "Walter Purcaro")
__author_mail__ = ("spoob@pyload.org", "mkaay@mkaay.de", "zoidberg@mujmail.cz", "vuolter@gmail.com")
@@ -132,9 +132,13 @@ class ShareonlineBiz(Hoster):
"fail": re.compile(r"<title>Share-Online")
})
if check == "cookie":
+ self.invalidCaptcha()
self.retry(5, 60, "Cookie failure")
elif check == "fail":
+ self.invalidCaptcha()
self.retry(5, 5 * 60, "Download failed")
+ else:
+ self.correctCaptcha()
def handlePremium(self): # should be working better loading (account) api internally
self.account.getAccountInfo(self.user, True)