summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/LinksaveIn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-20 03:26:43 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-20 03:26:43 +0200
commitcedfbde86de423b8f004299af9f8ab60606cb790 (patch)
tree584e0b614a1635b278a9a13702fe642bc4ceb14c /module/plugins/captcha/LinksaveIn.py
parentFix and improve 5060e4c6374a5116d0d8b02528f910f8c5f8bcf9 (diff)
downloadpyload-cedfbde86de423b8f004299af9f8ab60606cb790.tar.xz
Remove testcodes in captcha plugins
Diffstat (limited to 'module/plugins/captcha/LinksaveIn.py')
-rw-r--r--module/plugins/captcha/LinksaveIn.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/module/plugins/captcha/LinksaveIn.py b/module/plugins/captcha/LinksaveIn.py
index 12879db1f..da36cf552 100644
--- a/module/plugins/captcha/LinksaveIn.py
+++ b/module/plugins/captcha/LinksaveIn.py
@@ -147,12 +147,3 @@ class LinksaveIn(OCR):
final += self.result_captcha
return final
-
-
-if __name__ == '__main__':
- import urllib
-
- ocr = LinksaveIn()
- testurl = "http://linksave.in/captcha/cap.php?hsh=2229185&code=ZzHdhl3UffV3lXTH5U4b7nShXj%2Bwma1vyoNBcbc6lcc%3D"
- urllib.urlretrieve(testurl, ocr.data_dir+"captcha.gif")
- print ocr.get_captcha(ocr.data_dir+'captcha.gif')