Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 反馈问题:百度翻译接口出现异常 #481

Closed
5 of 6 tasks
tisfeng opened this issue Mar 30, 2024 · 5 comments
Closed
5 of 6 tasks

🐞 反馈问题:百度翻译接口出现异常 #481

tisfeng opened this issue Mar 30, 2024 · 5 comments
Assignees
Labels
bug Something isn't working fixed in next release The issue will be closed once next release is available

Comments

@tisfeng
Copy link
Owner

tisfeng commented Mar 30, 2024

请先确认以下事项:

  • 请务必查看 常见问题
  • 已仔细阅读了 README
  • issues 页面搜索过问题(包括已关闭的 issue),但未能找到解决方法
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

抓包一看,百度好像修改了网页版接口,为了推 AI 翻译,甚至都改成了 text/event-stream 类型 😓

得了,那我们也不要折腾这个接口了,直接改用百度官方 API,个人免费额度 100 万字符也够用。

image image

该问题是否可以稳定重现?

可重现

重现步骤

截图

image

期望结果

支持百度官方 API

解决方案(可选)

No response

设备型号 && 系统版本

是否愿意提交 PR 解决该问题?

  • 我愿意提交 PR
@tisfeng tisfeng added the bug Something isn't working label Mar 30, 2024
@tisfeng
Copy link
Owner Author

tisfeng commented Mar 30, 2024

这个我们直接用 Swift 重写吧,既然旧的接口已废弃,也没有维护的必要了。

@choykarl 你可以做一下这个吗

@choykarl
Copy link
Collaborator

可以,不过还是时间的问题,我只能抽空弄,时间不稳定……🥲🥲

@tisfeng
Copy link
Owner Author

tisfeng commented Apr 1, 2024

ok,目前网页接口似乎还能用一会,支持百度官方接口这个 #484 你可以有空时写。

@tisfeng tisfeng added the fixed in next release The issue will be closed once next release is available label Apr 1, 2024
@choykarl
Copy link
Collaborator

choykarl commented Apr 1, 2024

ok,我抽出时间就弄弄

@tisfeng
Copy link
Owner Author

tisfeng commented May 1, 2024

2.7.0 版本已修复。

@tisfeng tisfeng closed this as completed May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in next release The issue will be closed once next release is available
Projects
None yet
Development

No branches or pull requests

2 participants