diff options
author | kingzero <devnull@localhost> | 2009-06-16 17:13:58 +0200 |
---|---|---|
committer | kingzero <devnull@localhost> | 2009-06-16 17:13:58 +0200 |
commit | 2482c76a31880e5fc3a32393b56a1e7fca1fe9c4 (patch) | |
tree | f9222f225357bf9d55a6538aac5588a0dea01c43 /captcha/gigasize-com.py | |
parent | Added Zippyshare.com Download Plugin (diff) | |
parent | added captcha support for gigasize.com, see #6 (diff) | |
download | pyload-2482c76a31880e5fc3a32393b56a1e7fca1fe9c4.tar.xz |
Merge with 91d07331e1a9707a3dccb47a373ac516a7ebca8a
Diffstat (limited to 'captcha/gigasize-com.py')
-rw-r--r-- | captcha/gigasize-com.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/captcha/gigasize-com.py b/captcha/gigasize-com.py new file mode 100644 index 000000000..b48e20da4 --- /dev/null +++ b/captcha/gigasize-com.py @@ -0,0 +1,14 @@ +from captcha import Ocr + +class Gigasize(Ocr): + def __init__(self, image): + Ocr.__init__(self, image) + + def get_captcha(self): + self.threshold(2.8) + self.run_gocr() + return self.result_captcha + +if __name__ == '__main__': + ocr = Gigasize('gigasize-com/7.jpg') + print ocr.get_captcha() |