Giter Site home page Giter Site logo

Comments (6)

al123xiaaaa avatar al123xiaaaa commented on June 14, 2024 1

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

from translation.

Dongzhixiao avatar Dongzhixiao commented on June 14, 2024 1

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

from translation.

qrpengx avatar qrpengx commented on June 14, 2024

不能设置超时时间吗?

from translation.

littlecodersh avatar littlecodersh commented on June 14, 2024

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

from translation.

ravidattani avatar ravidattani commented on June 14, 2024

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.

lahok avatar lahok commented on June 14, 2024

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

from translation.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.