From cfca9e3b3f3fa8a728429bb930ada8f3f95aba45 Mon Sep 17 00:00:00 2001 From: Nitzo Date: Wed, 15 Jun 2016 20:51:08 +0300 Subject: [OboomCom] fix #2508 --- module/plugins/hoster/OboomCom.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module/plugins/hoster/OboomCom.py b/module/plugins/hoster/OboomCom.py index ef2cdbf29..eee53c10d 100644 --- a/module/plugins/hoster/OboomCom.py +++ b/module/plugins/hoster/OboomCom.py @@ -13,7 +13,7 @@ from module.plugins.captcha.ReCaptcha import ReCaptcha class OboomCom(Hoster): __name__ = "OboomCom" __type__ = "hoster" - __version__ = "0.43" + __version__ = "0.44" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?oboom\.com/(?:#(?:id=|/)?)?(?P\w{8})' @@ -89,8 +89,7 @@ class OboomCom(Hoster): self.captcha.correct() self.wait(30) - else: - if result[0] == 403: + elif result[0] == 403: if result[1] == -1: #: Another download is running self.set_wait(15 * 60) else: @@ -100,10 +99,11 @@ class OboomCom(Hoster): self.wait() self.retry(5) - elif result[0] == 400 and result[1] == "forbidden": - self.retry(5, 15 * 60, _("Service unavailable")) + elif result[0] == 400 and result[1] == "forbidden": + self.retry(5, 15 * 60, _("Service unavailable")) - self.retry_captcha() + else: + self.retry_captcha() def get_fileInfo(self, token, fileId): -- cgit v1.2.3