diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-22 22:49:11 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-05-22 22:49:11 +0200 |
commit | 9bb3bff1a97c11ee887446d24015d0def499e18c (patch) | |
tree | 2231377de6c369bac558a6c530e5337a9b3aba75 /module/plugins/hoster | |
parent | [SimpleHoster] Improve checkErrors (diff) | |
download | pyload-9bb3bff1a97c11ee887446d24015d0def499e18c.tar.xz |
[SimpleHoster] Fix captcha retrying
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/NitroflareCom.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/module/plugins/hoster/NitroflareCom.py b/module/plugins/hoster/NitroflareCom.py index e10bf130b..1d1349a50 100644 --- a/module/plugins/hoster/NitroflareCom.py +++ b/module/plugins/hoster/NitroflareCom.py @@ -27,8 +27,6 @@ class NitroflareCom(SimpleHoster): LINK_FREE_PATTERN = r'(https?://[\w\-]+\.nitroflare\.com/.+?)"' - RECAPTCHA_KEY = "6Lenx_USAAAAAF5L1pmTWvWcH73dipAEzNnmNLgy" - PREMIUM_ONLY_PATTERN = r'This file is available with Premium only' WAIT_PATTERN = r'You have to wait .+?<' ERROR_PATTERN = r'downloading is not possible' @@ -70,8 +68,4 @@ class NitroflareCom(SimpleHoster): self.logWarning("Captcha unfilled") return - m = re.search(self.LINK_FREE_PATTERN, self.html) - if m: - self.link = m.group(1) - else: - self.logError("Unable to detect direct link") + return super(NitroflareCom, self).handleFree(pyfile) |