translators
translators copied to clipboard
[Bug]: iciba not working now
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 Not only 6key_web_new_fanyi
changed, encrypt moethod also changed. At present, this problem has not been solved because of other things.
@syaoranwe pip install translators==5.9.0