summaryrefslogtreecommitdiffstats
path: root/Plugins
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-09-03 16:44:21 +0200
committerGravatar spoob <spoob@gmx.de> 2009-09-03 16:44:21 +0200
commitaaa0dfd0a5a8843b549e6c1ea66fcb786a8069cf (patch)
tree89cfe1f1509e116d368578f73797b13608ab878d /Plugins
parentnetload fix (diff)
downloadpyload-aaa0dfd0a5a8843b549e6c1ea66fcb786a8069cf.tar.xz
Fixed #24
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/NetloadIn.py3
1 files changed, 1 insertions, 2 deletions
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('<input name="file_id" type="hidden" value="(.*)" />', 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))