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/LinksaveIn.py | |
parent | Fix and improve 5060e4c6374a5116d0d8b02528f910f8c5f8bcf9 (diff) | |
download | pyload-cedfbde86de423b8f004299af9f8ab60606cb790.tar.xz |
Remove testcodes in captcha plugins
Diffstat (limited to 'module/plugins/captcha/LinksaveIn.py')
-rw-r--r-- | module/plugins/captcha/LinksaveIn.py | 9 |
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') |