diff options
author | spoob <spoob@gmx.de> | 2009-09-03 16:44:21 +0200 |
---|---|---|
committer | spoob <spoob@gmx.de> | 2009-09-03 16:44:21 +0200 |
commit | aaa0dfd0a5a8843b549e6c1ea66fcb786a8069cf (patch) | |
tree | 89cfe1f1509e116d368578f73797b13608ab878d /Plugins | |
parent | netload fix (diff) | |
download | pyload-aaa0dfd0a5a8843b549e6c1ea66fcb786a8069cf.tar.xz |
Fixed #24
Diffstat (limited to 'Plugins')
-rw-r--r-- | Plugins/NetloadIn.py | 3 |
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)) |