Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google_new_transError: 404 (Not Found) from TTS API. Probable cause: Unknown #57

Open
dalaba7046 opened this issue Oct 4, 2022 · 6 comments

Comments

@dalaba7046
Copy link

test code:

from google_trans_new import google_translator

translator = google_translator()
translate_text = translator.translate('สวัสดีจีน',lang_tgt='en')
print(translate_text)

======================================
error:

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://translate.google.cn/_/TranslateWebserverUi/data/batchexecute

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

google_trans_new.google_trans_new.google_new_transError: 404 (Not Found) from TTS API. Probable cause: Unknown

@cergo666
Copy link
Contributor

cergo666 commented Oct 6, 2022

Fixed by me in #58

@jet10000
Copy link

jet10000 commented Oct 8, 2022

Please release it to pypi

@vincjess
Copy link

I wish that it was updated in pypi, but for now you can also just download constant.py and google_trans_new.py and add them into your project.

@jyotirmay123
Copy link

I wish that it was updated in pypi, but for now you can also just download constant.py and google_trans_new.py and add them into your project.

Wow, that's the easiest solution without proxy stuff. May they release this new version to PYPI soon.

@hipoglucido
Copy link

just cloned this and I am getting this error. Any fixes?

@SHIVAKARTHIK3
Copy link

Fixed by me in #58

I didn't get it couldn't you help me out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants