【问题标题】:google_new_transError: Failed to connect. Probable cause: timeout?google_new_transError:连接失败。可能原因:超时?
【发布时间】:2021-03-20 07:21:13
【问题描述】:
from google_trans_new import google_translator 

translator= google_translator()

translated = translator.translate("i am a boy", lang_tgt = 'fr')
translated_back = translator.translate(translated, lang_tgt = 'en')

【问题讨论】:

    标签: python google-translate


    【解决方案1】:

    此库使用对 Web 界面的请求。如果过度使用 Google 会阻止您一段时间,因为对于应用程序,您必须使用 Google Translate API。问题可能就在那里。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-02-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多