Skip to content

Yandex 403 #94

Description

@re7gog

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/

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions