diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-20 03:26:43 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-20 03:26:43 +0200 |
commit | cedfbde86de423b8f004299af9f8ab60606cb790 (patch) | |
tree | 584e0b614a1635b278a9a13702fe642bc4ceb14c /module/plugins/captcha/NetloadIn.py | |
parent | Fix and improve 5060e4c6374a5116d0d8b02528f910f8c5f8bcf9 (diff) | |
download | pyload-cedfbde86de423b8f004299af9f8ab60606cb790.tar.xz |
Remove testcodes in captcha plugins
Diffstat (limited to 'module/plugins/captcha/NetloadIn.py')
-rw-r--r-- | module/plugins/captcha/NetloadIn.py | 8 |
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') |