Skip to content
Browse files

Bump recaptcha-client from 1.0.5 to 1.0.6 to account for changed serv…

…ice URLs
  • Loading branch information...
1 parent 6126d67 commit 0d2800a69b34b173e5ae063d42efecf489c2298d @lmorchard committed Apr 28, 2011
View
6 packages/recaptcha-client/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: recaptcha-client
-Version: 1.0.5
+Version: 1.0.6
Summary: A plugin for reCAPTCHA and reCAPTCHA Mailhide
Home-page: http://recaptcha.net
Author: Ben Maurer
@@ -10,8 +10,8 @@ Description: Provides a CAPTCHA for Python using the reCAPTCHA service. Does not
any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
Also allows you to securely obfuscate emails with Mailhide. This functionality
requires pycrypto. This library requires two types of API keys. If you'd like
- to use the CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey.
- For Mailhide, you'll need a key from http://mailhide.recaptcha.net/apikey.
+ to use the CAPTCHA, you'll need a key from https://www.google.com/recaptcha/admin/create.
+ For Mailhide, you'll need a key from http://www.google.com/recaptcha/mailhide/apikey.
The trunk can be checked out from
http://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/python,
View
5 packages/recaptcha-client/pip-delete-this-directory.txt
@@ -1,5 +0,0 @@
-This file is placed here by pip to indicate the source was put
-here by pip.
-
-Once this package is successfully installed this source code will be
-deleted (unless you remove this file).
View
6 packages/recaptcha-client/pip-egg-info/recaptcha_client.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: recaptcha-client
-Version: 1.0.5
+Version: 1.0.6
Summary: A plugin for reCAPTCHA and reCAPTCHA Mailhide
Home-page: http://recaptcha.net
Author: Ben Maurer
@@ -10,8 +10,8 @@ Description: Provides a CAPTCHA for Python using the reCAPTCHA service. Does not
any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
Also allows you to securely obfuscate emails with Mailhide. This functionality
requires pycrypto. This library requires two types of API keys. If you'd like
- to use the CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey.
- For Mailhide, you'll need a key from http://mailhide.recaptcha.net/apikey.
+ to use the CAPTCHA, you'll need a key from https://www.google.com/recaptcha/admin/create.
+ For Mailhide, you'll need a key from http://www.google.com/recaptcha/mailhide/apikey.
The trunk can be checked out from
http://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/python,
View
10 packages/recaptcha-client/recaptcha/client/captcha.py
@@ -1,8 +1,8 @@
import urllib2, urllib
-API_SSL_SERVER="https://api-secure.recaptcha.net"
-API_SERVER="http://api.recaptcha.net"
-VERIFY_SERVER="api-verify.recaptcha.net"
+API_SSL_SERVER="https://www.google.com/recaptcha/api"
+API_SERVER="http://www.google.com/recaptcha/api"
+VERIFY_SERVER="www.google.com"
class RecaptchaResponse(object):
def __init__(self, is_valid, error_code=None):
@@ -73,7 +73,7 @@ def encode_if_necessary(s):
})
request = urllib2.Request (
- url = "http://%s/verify" % VERIFY_SERVER,
+ url = "http://%s/recaptcha/api/verify" % VERIFY_SERVER,
data = params,
headers = {
"Content-type": "application/x-www-form-urlencoded",
@@ -92,5 +92,3 @@ def encode_if_necessary(s):
return RecaptchaResponse (is_valid=True)
else:
return RecaptchaResponse (is_valid=False, error_code = return_values [1])
-
-
View
2 packages/recaptcha-client/recaptcha/client/mailhide.py
@@ -6,7 +6,7 @@
except:
raise Exception ("You need the pycrpyto library: http://cheeseshop.python.org/pypi/pycrypto/")
-MAIL_HIDE_BASE="http://mailhide.recaptcha.net"
+MAIL_HIDE_BASE="http://www.google.com/recaptcha/mailhide"
def asurl (email,
public_key,
View
6 packages/recaptcha-client/recaptcha_client.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: recaptcha-client
-Version: 1.0.5
+Version: 1.0.6
Summary: A plugin for reCAPTCHA and reCAPTCHA Mailhide
Home-page: http://recaptcha.net
Author: Ben Maurer
@@ -10,8 +10,8 @@ Description: Provides a CAPTCHA for Python using the reCAPTCHA service. Does not
any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
Also allows you to securely obfuscate emails with Mailhide. This functionality
requires pycrypto. This library requires two types of API keys. If you'd like
- to use the CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey.
- For Mailhide, you'll need a key from http://mailhide.recaptcha.net/apikey.
+ to use the CAPTCHA, you'll need a key from https://www.google.com/recaptcha/admin/create.
+ For Mailhide, you'll need a key from http://www.google.com/recaptcha/mailhide/apikey.
The trunk can be checked out from
http://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/python,
View
6 packages/recaptcha-client/setup.py
@@ -6,7 +6,7 @@
from setuptools import setup, find_packages
setup(name='recaptcha-client',
- version='1.0.5',
+ version='1.0.6',
url = "http://recaptcha.net",
author = "Ben Maurer",
author_email = "support@recaptcha.net",
@@ -16,8 +16,8 @@
any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
Also allows you to securely obfuscate emails with Mailhide. This functionality
requires pycrypto. This library requires two types of API keys. If you'd like
-to use the CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey.
-For Mailhide, you'll need a key from http://mailhide.recaptcha.net/apikey.
+to use the CAPTCHA, you'll need a key from https://www.google.com/recaptcha/admin/create.
+For Mailhide, you'll need a key from http://www.google.com/recaptcha/mailhide/apikey.
The trunk can be checked out from
http://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/python,

0 comments on commit 0d2800a

Please sign in to comment.
Something went wrong with that request. Please try again.