Código Python:
Ver originalimport httplib, urllib
params = urllib.urlencode({'MfcISAPICommand':"buscar",'trad Query':1,' destino':0,'texto':"hola",'medio':1000,'pais':1000 ,'tema':1000})
headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"}
conn = httplib.HTTPConnection("corpus.rae.es", 80) #Aqui va solamente el dominio, sin el www, ni el http
conn.request("GET", "/cgi-bin/crpsrvEx.dll", params, headers)
response = conn.getresponse()
print response.status, response.reason
data = response.read()
print data
conn.close()