Skip to content

Add new channel Tencent#3

Open
sfyc23 wants to merge 2 commits intoskywind3000:masterfrom
sfyc23:add-sfyc23
Open

Add new channel Tencent#3
sfyc23 wants to merge 2 commits intoskywind3000:masterfrom
sfyc23:add-sfyc23

Conversation

@sfyc23
Copy link
Copy Markdown

@sfyc23 sfyc23 commented Jun 21, 2019

对网页 腾讯翻译君 模拟请求获取到的数据,与有道的获取类似。
但接口不是特别稳定,短时间内不能多次对数据进行翻译。

Copy link
Copy Markdown

@einverne einverne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @sfyc23 I have left a comment below. Take a look when you have time.

Comment thread translator.py
Comment on lines +636 to +637
'qtv=905cbef7fb10a835; '
'qtk=PyO1EjMsd/H6GTw74rq+/v9wdoqm7D7wQiMdGYcYUmIXSleF8rFck3DowMGeHG67kbI/'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tencent has changed this two parameters. You should pass this two parameters in the POST data. And this two parameters will be invalid after a period of time. We should find another way to regenerate these two parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants