summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Hadrien Theveneau <theveneau@gmail.com> 2015-10-08 21:52:00 +0200
committerGravatar Hadrien Theveneau <theveneau@gmail.com> 2015-10-28 02:52:18 +0100
commitee5cb5761272bcee1db9c7a7cf53da402719ab97 (patch)
treee0886e835901424356745014be401d52415f8380 /module
parentFix https://github.com/pyload/pyload/issues/2112 (diff)
downloadpyload-ee5cb5761272bcee1db9c7a7cf53da402719ab97.tar.xz
Addition of captcha code in debug messages in DlProtect.py
Diffstat (limited to 'module')
-rw-r--r--module/plugins/crypter/DlProtectCom.py1
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)