From aaa0dfd0a5a8843b549e6c1ea66fcb786a8069cf Mon Sep 17 00:00:00 2001 From: spoob Date: Thu, 3 Sep 2009 16:44:21 +0200 Subject: Fixed #24 --- Plugins/NetloadIn.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Plugins/NetloadIn.py') diff --git a/Plugins/NetloadIn.py b/Plugins/NetloadIn.py index 11765f42a..39ea9213e 100644 --- a/Plugins/NetloadIn.py +++ b/Plugins/NetloadIn.py @@ -87,8 +87,7 @@ class NetloadIn(Plugin): file_id = re.search('', self.html[1]).group(1) captcha_image = tempfile.NamedTemporaryFile(suffix=".png").name - - + self.req.download(captcha_url, captcha_image, cookies=True) captcha = self.ocr.get_captcha(captcha_image) self.logger.debug("Captcha %s: %s" % (i, captcha)) -- cgit v1.2.3