Re: trouble getting google through urllib

2006-12-19 Thread Dr. Locke Z2A
I looked at those APIs and it would appear that SOAP isn't around anymore and there are no APIs for google translate :( Can anyone tell me how to set the user-agent string in the HTTP header? -- http://mail.python.org/mailman/listinfo/python-list

trouble getting google through urllib

2006-12-18 Thread Dr. Locke Z2A
So I'm writing a bot in python that will be able to do all kinds of weird shit. One of those weird shit is the ability to translate text from one language to another, which I figured I'd use google translate to do. Here is the section for translation that I'm having trouble with: elif(line[abuinde