summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-02 12:37:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-02 12:37:59 +0200
commit3abd6df2b3df9cecdfd9aca298476e258b98a183 (patch)
tree9805bc3c8cb0d916b3d9c00f98f977b21ddd23fc /module/plugins/internal
parent[UserAgentSwitcher] Update (diff)
downloadpyload-3abd6df2b3df9cecdfd9aca298476e258b98a183.tar.xz
[NitroflareCom] Premium support
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/SimpleHoster.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 16e9c7f2e..33e7d3674 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -239,7 +239,7 @@ def secondsToMidnight(gmt=0):
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "1.52"
+ __version__ = "1.53"
__pattern__ = r'^unmatchable$'
__config__ = [("use_premium", "bool", "Use premium account if available" , True),
@@ -630,6 +630,7 @@ class SimpleHoster(Hoster):
elif re.search('captcha|code', errmsg, re.I):
self.invalidCaptcha()
+ self.retry(10, reason=_("Wrong captcha"))
elif re.search('countdown|expired', errmsg, re.I):
self.retry(wait_time=60, reason=_("Link expired"))