translators icon indicating copy to clipboard operation
translators copied to clipboard

[Bug]: iciba not working now

Open syaoranwe opened this issue 1 year ago • 1 comments

Debug Tips

  • [X] I'm sure I've read this project's Issues of README.

What happened?

The old web API calling method of iciba has become invalid.(sign = CryptoJS.MD5("6key_web_fanyi"+"ifanyiweb8hc9s98e"+raw.replace(/(^\s*)|(\s*$)/g, "")).toString().substring(0,16)),Now, the new verification method is being used on the web (related to 6key_web_new_fanyi).

When calling the iciba translation engine, an error will be reported as follows:

requests.exceptions.HTTPError: 413 Client Error: Request Entity Too Large for url: https://ifanyi.iciba.com/index.php?c=trans&m=fy&client=6&auth_user=key_web_fanyi&sign=1c36da269a45425c

Actual result: Response code: 413 Text: Your access is prohibited.

APP Version

Irrelevant

Python Version

3.9 (Default)

Runtime Environment

Linux CentOS (Default)

Country/Region

Irrelevant

Relevant log output

No response

Screenshots

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

syaoranwe avatar Dec 21 '23 22:12 syaoranwe

@syaoranwe Not only 6key_web_new_fanyi changed, encrypt moethod also changed. At present, this problem has not been solved because of other things.

UlionTse avatar Jan 04 '24 14:01 UlionTse

@syaoranwe pip install translators==5.9.0

UlionTse avatar Feb 23 '24 23:02 UlionTse