littlecodersh / translation

Python translation package
Other
55 stars 16 forks source link

功能与意见反馈,报bug可以另开issue #1

Open littlecodersh opened 8 years ago

littlecodersh commented 8 years ago

都可以在这里交流,我会及时回复的~

qrpengx commented 8 years ago

不能设置超时时间吗?

littlecodersh commented 8 years ago

@qrpengx 没做超时,你可以试试

al123xiaaaa commented 7 years ago

有道上神经翻译了,可以更新下

ravidattani commented 7 years ago

print(google('hello world!', dst = 'zh-CN', proxies = {'http': '127.0.0.1:1080'})) File "/usr/local/lib/python2.7/dist-packages/translation/init.py", line 19, in google dst = dst, proxies = proxies) File "/usr/local/lib/python2.7/dist-packages/translation/main.py", line 31, in get test_proxies(proxies, default) File "/usr/local/lib/python2.7/dist-packages/translation/tools.py", line 20, in test_proxies except requests.exceptions.ConnectTimeout: AttributeError: 'module' object has no attribute 'ConnectTimeout' - there seems to be some error with the proxy connection please help, I need to get this working badly

lahok commented 6 years ago

好像百度、有道不能使用, 谷歌没有找到有效的代理,没有测。必应和金山好用。

Dongzhixiao commented 6 years ago

现在使用您的代码: print(youdao('hello world!', dst = 'zh-CN')),会出现如下提示 您的请求来源非法,商业用途使用请关注有道翻译API官方网站“有道智云”: http://ai.youdao.com