diff options
author | Hadrien Theveneau <theveneau@gmail.com> | 2015-10-08 21:52:00 +0200 |
---|---|---|
committer | Hadrien Theveneau <theveneau@gmail.com> | 2015-10-28 02:52:18 +0100 |
commit | ee5cb5761272bcee1db9c7a7cf53da402719ab97 (patch) | |
tree | e0886e835901424356745014be401d52415f8380 /module/plugins/crypter | |
parent | Fix https://github.com/pyload/pyload/issues/2112 (diff) | |
download | pyload-ee5cb5761272bcee1db9c7a7cf53da402719ab97.tar.xz |
Addition of captcha code in debug messages in DlProtect.py
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/DlProtectCom.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/plugins/crypter/DlProtectCom.py b/module/plugins/crypter/DlProtectCom.py index 3377d4a8a..7c30dbe9d 100644 --- a/module/plugins/crypter/DlProtectCom.py +++ b/module/plugins/crypter/DlProtectCom.py @@ -57,6 +57,7 @@ class DlProtectCom(SimpleCrypter): m = re.search(r'/captcha\.php\?key=(.+?)"', self.data) if m is not None: captcha_code = self.captcha.decrypt("http://www.dl-protect.com/captcha.php?key=" + m.group(1), input_type="gif") + self.log_debug("Captcha code: %s" % captcha_code) post_req['secure'] = captcha_code self.data = self.load(self.pyfile.url, post=post_req) |