diff options
author | Gummibaer <guthub@wiki-bierkiste.de> | 2014-12-27 23:32:31 +0100 |
---|---|---|
committer | Gummibaer <guthub@wiki-bierkiste.de> | 2014-12-27 23:32:31 +0100 |
commit | 30c5ee2d8d69c59ca15ca1700b34be73a89a59ee (patch) | |
tree | 5c4edf8327f90bb3429a18e39fffcf50060c086d /module/plugins/crypter | |
parent | [MegaCoNzFolder] Increase loading timeout (diff) | |
download | pyload-30c5ee2d8d69c59ca15ca1700b34be73a89a59ee.tar.xz |
Update LinkCryptWs.py
key captcha recognition improved (works faster)
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/LinkCryptWs.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py index 835a549b2..a2afce4dc 100644 --- a/module/plugins/crypter/LinkCryptWs.py +++ b/module/plugins/crypter/LinkCryptWs.py @@ -15,7 +15,7 @@ from module.utils import html_unescape class LinkCryptWs(Crypter): __name__ = "LinkCryptWs" __type__ = "crypter" - __version__ = "0.07" + __version__ = "0.08" __pattern__ = r'http://(?:www\.)?linkcrypt\.ws/(dir|container)/(?P<ID>\w+)' @@ -57,7 +57,7 @@ class LinkCryptWs(Crypter): self.offline() if self.isKeyCaptchaProtected(): - self.retry(4, 30, _("Can't handle Key-Captcha")) + self.retry(8, 15, _("Can't handle Key-Captcha")) if self.isCaptchaProtected(): self.captcha = True @@ -115,10 +115,9 @@ class LinkCryptWs(Crypter): def isKeyCaptchaProtected(self): - if re.search(r'Key[ -]', self.html, re.I): + if(re.search(r'<br />If the folder does not open after klick on <b>Enter Folder</ b>', self.html, re.I)): return True - else: - return False + return False def unlockPasswordProtection(self): |