diff options
| author | 2015-07-23 23:44:45 +0200 | |
|---|---|---|
| committer | 2015-07-23 23:44:45 +0200 | |
| commit | 6af9b38a8d5d49355b85aef6ddd003605d6bba05 (patch) | |
| tree | cbfb5b2212cab406ba75b3acd553879311e9153f /module/plugins/crypter/FilecryptCc.py | |
| parent | Code cosmetics (diff) | |
| download | pyload-6af9b38a8d5d49355b85aef6ddd003605d6bba05.tar.xz | |
Improve Captcha
Diffstat (limited to 'module/plugins/crypter/FilecryptCc.py')
| -rw-r--r-- | module/plugins/crypter/FilecryptCc.py | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/crypter/FilecryptCc.py b/module/plugins/crypter/FilecryptCc.py index 23636f3b7..3d0d089a7 100644 --- a/module/plugins/crypter/FilecryptCc.py +++ b/module/plugins/crypter/FilecryptCc.py @@ -10,7 +10,7 @@ import urlparse  from Crypto.Cipher import AES  from module.plugins.internal.Crypter import Crypter -from module.plugins.internal.ReCaptcha import ReCaptcha +from module.plugins.captcha.ReCaptcha import ReCaptcha  class FilecryptCc(Crypter): @@ -92,16 +92,16 @@ class FilecryptCc(Crypter):          if m:  #: Normal captcha              self.log_debug("Captcha-URL: %s" % m.group(1)) -            captcha_code = self.captcha.decrypt_image(urlparse.urljoin(self.base_url, m.group(1)), +            captcha_code = self.captcha.decrypt(urlparse.urljoin(self.base_url, m.group(1)),                                                        input_type="gif", -                                                      try_ocr=False) +                                                      ocr=False)              self.site_with_links = self.load(self.pyfile.url,                                             post={'recaptcha_response_field': captcha_code})          elif m2:  #: Circle captcha              self.log_debug("Captcha-URL: %s" % m2.group(1)) -            captcha_code = self.captcha.decrypt_image('%s%s?c=abc' %(self.base_url, m2.group(1)), +            captcha_code = self.captcha.decrypt('%s%s?c=abc' %(self.base_url, m2.group(1)),                                                 output_type='positional')              self.site_with_links = self.load(self.pyfile.url,  | 
