-
Notifications
You must be signed in to change notification settings - Fork 20
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
How Romanization is achieved #2
Comments
Basically i'm using the same Google service you use when accessing Google translate from your browser (translate.google.com). The GoogleTranslator sends a GET request to the Google server mimicking the browser behaviour, then Google sends back a JSON structure which GoogleTranslator parses to extract all the requested information (including romanization). For more details you can view the debug output from the CLI script or the API calls. To view the actual request being sent run You can also search for the line saying JSON data to view the actual JSON response. |
Oh okay. Thank you for explaining that. Turns out our IP can get banned if we access it enough number of times. :( |
Yes, Google bans your IP if you send too many requests in a sort period of time. You can use multiple proxies to overcome this issue or use the official Google translate API if you use the translate functionality too often. |
I suppose. Thank you for the information. |
This is not an issue, I just had this question : How is the project able to romanize text? Which google tranclate call or API is being used?
Thanks.
The text was updated successfully, but these errors were encountered: