summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-06-15 19:51:08 +0200
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-06-15 19:51:08 +0200
commitcfca9e3b3f3fa8a728429bb930ada8f3f95aba45 (patch)
treeffe6c4f2a51ba9bd6e41d77d90b51bfd84e2e509 /module
parent[BigfileTo] Version up (diff)
downloadpyload-cfca9e3b3f3fa8a728429bb930ada8f3f95aba45.tar.xz
[OboomCom] fix #2508
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/OboomCom.py12
1 files 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<ID>\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):