Closed ghost closed 2 years ago
Now you can change the service url. Like this:
from pygoogletranslation import Translator trans = Translator(service_url="translate.google.cn") print(trans.translate("Hello world", dest="ja")) #こんにちは世界
Now, the service url is "translate.google.cn", In some countries you needn't the proxy.
Now you can change the service url. Like this:
Now, the service url is "translate.google.cn", In some countries you needn't the proxy.