summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/ShareonlineBiz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/captcha/ShareonlineBiz.py')
-rw-r--r--module/plugins/captcha/ShareonlineBiz.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/module/plugins/captcha/ShareonlineBiz.py b/module/plugins/captcha/ShareonlineBiz.py
index 73ec4a7e0..44ea6a187 100644
--- a/module/plugins/captcha/ShareonlineBiz.py
+++ b/module/plugins/captcha/ShareonlineBiz.py
@@ -1,21 +1,4 @@
# -*- coding: utf-8 -*-
-#
-#Copyright (C) 2009 kingzero, RaNaN
-#
-#This program is free software; you can redistribute it and/or modify
-#it under the terms of the GNU General Public License as published by
-#the Free Software Foundation; either version 3 of the License,
-#or (at your option) any later version.
-#
-#This program is distributed in the hope that it will be useful,
-#but WITHOUT ANY WARRANTY; without even the implied warranty of
-#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#See the GNU General Public License for more details.
-#
-#You should have received a copy of the GNU General Public License
-# along with this program; if not, see <http://www.gnu.org/licenses/>.
-#
-###
from captcha import OCR
@@ -53,11 +36,3 @@ class ShareonlineBiz(OCR):
return final
#tesseract at 60%
-
-
-if __name__ == '__main__':
- import urllib
-
- ocr = ShareonlineBiz()
- urllib.urlretrieve("http://www.share-online.biz/captcha.php", "captcha.jpeg")
- print ocr.get_captcha('captcha.jpeg')