java-speech-api icon indicating copy to clipboard operation
java-speech-api copied to clipboard

Synthesizer returns 403 and blocks user from Google translate

Open piegamesde opened this issue 7 years ago • 2 comments

When using the Synthesizer, it tries to use the following link:

http://translate.google.com/translate_a/single?client=t&hl=en&sl=auto&tl=en&text=Hello+world&multires=1&otf=0&pc=0&trs=1&ssel=0&tsel=0&sc=1&dt=t&ie=UTF-8&oe=UTF-8&tk=464692.91119

This results in an IOException and a 403 error as well as blocking the user's IP from using Google translate for a while.

piegamesde avatar Apr 10 '18 07:04 piegamesde

Yeah, it looks like the API endpoint changed: https://github.com/desbma/GoogleSpeech/blob/master/google_speech/init.py Would welcome a pull request to fix it.

Skylion007 avatar Apr 10 '18 17:04 Skylion007

Still having this issue. It has been a while.

ZephaniahNoah avatar Oct 31 '19 04:10 ZephaniahNoah