diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-13 13:46:34 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-13 13:46:34 +0200 |
commit | 694b1826b7118bff22444a1eb9bfd8b681ef0200 (patch) | |
tree | 35b7c93d07286cb2a6b72fca582ffc2e05ad214d /module/plugins/ReCaptcha.py | |
parent | some fixes, working irc interface (diff) | |
download | pyload-694b1826b7118bff22444a1eb9bfd8b681ef0200.tar.xz |
unrar fix, removed recaptcha debug
Diffstat (limited to 'module/plugins/ReCaptcha.py')
-rw-r--r-- | module/plugins/ReCaptcha.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/ReCaptcha.py b/module/plugins/ReCaptcha.py index 23e1064ce..d29530a64 100644 --- a/module/plugins/ReCaptcha.py +++ b/module/plugins/ReCaptcha.py @@ -6,9 +6,7 @@ class ReCaptcha(): def challenge(self, id): js = self.plugin.req.load("http://api.recaptcha.net/challenge", get={"k":id}, cookies=True) - print js - challenge = re.search("challenge : '(.*?)',", js).group(1) - server = re.search("server : '(.*?)',", js).group(1) + try: challenge = re.search("challenge : '(.*?)',", js).group(1) server = re.search("server : '(.*?)',", js).group(1) |