summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/NetloadIn.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/NetloadIn.py
parentFix and improve 5060e4c6374a5116d0d8b02528f910f8c5f8bcf9 (diff)
downloadpyload-cedfbde86de423b8f004299af9f8ab60606cb790.tar.xz
Remove testcodes in captcha plugins
Diffstat (limited to 'module/plugins/captcha/NetloadIn.py')
-rw-r--r--module/plugins/captcha/NetloadIn.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/module/plugins/captcha/NetloadIn.py b/module/plugins/captcha/NetloadIn.py
index 9fb3b5c31..4585b51df 100644
--- a/module/plugins/captcha/NetloadIn.py
+++ b/module/plugins/captcha/NetloadIn.py
@@ -26,11 +26,3 @@ class NetloadIn(OCR):
self.result_captcha = self.result_captcha.replace(" ", "")[:4] # cut to 4 numbers
return self.result_captcha
-
-
-if __name__ == '__main__':
- import urllib
-
- ocr = NetloadIn()
- urllib.urlretrieve("http://netload.in/share/includes/captcha.php", "captcha.png")
- print ocr.get_captcha('captcha.png')