diff options
author | Bambie42 <bambie42@users.noreply.github.com> | 2015-09-13 21:43:20 +0200 |
---|---|---|
committer | Bambie42 <bambie42@users.noreply.github.com> | 2015-09-13 21:43:20 +0200 |
commit | 9d3d47df1935641fe2bb8771c948b11656133d7c (patch) | |
tree | 0fedb13e0e9c03330d60ad21e683ba86f8bfe606 /module | |
parent | [UlozTo] Hoster update (diff) | |
download | pyload-9d3d47df1935641fe2bb8771c948b11656133d7c.tar.xz |
fixes #1756 completly
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/crypter/LinkCryptWs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py index 095ca0158..fdb97ca2c 100644 --- a/module/plugins/crypter/LinkCryptWs.py +++ b/module/plugins/crypter/LinkCryptWs.py @@ -14,7 +14,7 @@ from module.utils import html_unescape class LinkCryptWs(Crypter): __name__ = "LinkCryptWs" __type__ = "crypter" - __version__ = "0.10" + __version__ = "0.11" __status__ = "testing" __pattern__ = r'http://(?:www\.)?linkcrypt\.ws/(dir|container)/(?P<ID>\w+)' @@ -131,11 +131,11 @@ class LinkCryptWs(Crypter): def unlock_captcha_protection(self): captcha_url = re.search(r'<form.*?id\s*?=\s*?"captcha"[^>]*?>.*?<\s*?input.*?src="(.+?)"', self.html, re.I | re.S).group(1) - captcha_code = self.captcha.decrypt(captcha_url, input_type="gif", output_type='positional') + captcha = self.load(captcha_url, decode=False) + captcha_code = self.captcha._decrypt(captcha, input_type="gif", output_type='positional') self.html = self.load(self.pyfile.url, post={'x': captcha_code[0], 'y': captcha_code[1]}) - def get_package_info(self): name = self.pyfile.package().name folder = self.pyfile.package().folder |