google-translate-api-browser
google-translate-api-browser copied to clipboard
403 error in Electron app
I'm using this package on my electron app with disabled web security to prevent cors error. But having 403 error, I see that google-translate-token is mentioned, but is not used. Any thoughts about this? Thanks!
How do you use the library?
As far as I understand, you use the web version. If you use it through the CORS server, you must authorize yourself. See the web example - you should open the link http://cors-anywhere.herokuapp.com/corsdemo and click on the button:
otherwise, you would get a 403 error
However, for the Electron app it should be possible to use node version of the app (probably)