diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-02 04:22:19 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-02 04:22:19 +0200 |
commit | ab695d17397e101447102877cdd282d825051035 (patch) | |
tree | 28f9f62ffc57888b76ca32540dbf5af3a4cfc8d0 /module/plugins/hoster/ShareonlineBiz.py | |
parent | [UptoboxCom] Fix https://github.com/pyload/pyload/issues/1530 and https://git... (diff) | |
download | pyload-ab695d17397e101447102877cdd282d825051035.tar.xz |
[Account] Improve parse_traffic method + code cosmetics
Diffstat (limited to 'module/plugins/hoster/ShareonlineBiz.py')
-rw-r--r-- | module/plugins/hoster/ShareonlineBiz.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index a8f4a5c8b..2223068e5 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -12,7 +12,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class ShareonlineBiz(SimpleHoster): __name__ = "ShareonlineBiz" __type__ = "hoster" - __version__ = "0.57" + __version__ = "0.58" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?(share-online\.biz|egoshare\.com)/(download\.php\?id=|dl/)(?P<ID>\w+)' @@ -169,12 +169,12 @@ class ShareonlineBiz(SimpleHoster): self.retry(10, 600, _("Server is full")) elif 'slot' in errmsg: - self.wantReconnect = True - self.retry(24, 3600, errmsg) + self.wait(3600, reconnect=True) + self.restart(errmsg, premium=True) else: - self.wantReconnect = True - self.retry(wait=60, msg=errmsg) + self.wait(60, reconnect=True) + self.restart(errmsg, premium=True) getInfo = create_getInfo(ShareonlineBiz) |