diff options
author | 2015-09-14 00:09:52 +0200 | |
---|---|---|
committer | 2015-09-14 00:09:52 +0200 | |
commit | c1cc437266f4a9742db046b2ee3157efff63bdd0 (patch) | |
tree | 0fedb13e0e9c03330d60ad21e683ba86f8bfe606 /module/plugins/crypter/LinkCryptWs.py | |
parent | [UlozTo] Hoster update (diff) | |
parent | fixes #1756 completly (diff) | |
download | pyload-c1cc437266f4a9742db046b2ee3157efff63bdd0.tar.xz |
Merge pull request #1820 from Bambie42/stable
fixes #1756 completly
Diffstat (limited to 'module/plugins/crypter/LinkCryptWs.py')
-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 |