pygtrans icon indicating copy to clipboard operation
pygtrans copied to clipboard

谷歌翻译, 支持 APIKEY 一口气翻译十万条

Results 4 pygtrans issues
Sort by recently updated
recently updated
newest added

失败格式: 返回还是上面那个。 调用接口: client = Translate() newText = client.translate(text,source='ko',target='zh-CN') if isinstance(text, Null) == False: return newText.translatedText

直接外网测试 http 代理:Translate(proxies={"https": "http://localhost:10809"}) socks5 代理: Translate(proxies={"https": "socks5://localhost:10808"}) 两个都不能用 错误如下 Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))) 代码没问题 之前用过突然不能用。 ApiKeyTranslate 有没有范例代码?