summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Hadrien Theveneau <theveneau@gmail.com> 2015-10-08 22:23:16 +0200
committerGravatar Hadrien Theveneau <theveneau@gmail.com> 2015-10-28 02:52:19 +0100
commit7f19e76b0e58dec7e5715d90350dc5313f659ca1 (patch)
tree1103f7ca8ce0387adf98eefb8b7fc44f2f50144f /module/plugins/crypter
parentAddition of captcha code in debug messages in DlProtect.py (diff)
downloadpyload-7f19e76b0e58dec7e5715d90350dc5313f659ca1.tar.xz
Addition of some debug messages in DlProtectCom.py and Captcha.py
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/DlProtectCom.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/crypter/DlProtectCom.py b/module/plugins/crypter/DlProtectCom.py
index 7c30dbe9d..32dfd4612 100644
--- a/module/plugins/crypter/DlProtectCom.py
+++ b/module/plugins/crypter/DlProtectCom.py
@@ -59,6 +59,8 @@ class DlProtectCom(SimpleCrypter):
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
+ else:
+ self.log_debug("Captcha code requested but captcha not found")
self.data = self.load(self.pyfile.url, post=post_req)