Comments (6)
有道上神经翻译了,可以更新下
from translation.
现在使用您的代码:
print(youdao('hello world!', dst = 'zh-CN')),会出现如下提示
您的请求来源非法,商业用途使用请关注有道翻译API官方网站“有道智云”: http://ai.youdao.com
from translation.
不能设置超时时间吗?
from translation.
@qrpengx 没做超时,你可以试试
from translation.
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
from translation.
好像百度、有道不能使用, 谷歌没有找到有效的代理,没有测。必应和金山好用。
from translation.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translation.