-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Description
Yandex translate doesn't work at all (google for example is fine)
Code:
import translators
print(translators.yandex("Привет"))
Output:
Using state Moscow server backend.
Traceback (most recent call last):
File "D:\Code\pythonProject\main.py", line 2, in
print(translators.yandex("Привет"))
File "D:\Code\pythonProject\venv\lib\site-packages\translators\apis.py", line 1418, in yandex_api
r.raise_for_status()
File "D:\Code\pythonProject\venv\lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://translate.yandex.com/