Hi, thank you for publishing such a useful plugin!
I noticed that Linguee’s French-to-English translation didn’t work. And it seems that English-to-French, French-to-German, German-to-French also doesn’t work.
I suspect it’s because the URL format of Linguee(such as path and query) has been changed as following.
If you guys are OK, I would be interested in contributing this.
What I Did
(expected returning 'run')
>>> from deep_translator import LingueeTranslator
>>> res = LingueeTranslator(source="fr", target="en").translate("courir", return_all=False)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/root/share-ws/common/deep-translator/deep_translator/linguee.py", line 77, in translate
raise ElementNotFoundInGetRequest(elements)
deep_translator.exceptions.ElementNotFoundInGetRequest: [] --> Required element was not found in the API response
Linguee French-to-English translation not working
Description
Hi, thank you for publishing such a useful plugin! I noticed that Linguee’s French-to-English translation didn’t work. And it seems that English-to-French, French-to-German, German-to-French also doesn’t work. I suspect it’s because the URL format of Linguee(such as path and query) has been changed as following.
the URL deep-translator using
the correct(and valid) URL
If you guys are OK, I would be interested in contributing this.
What I Did
(expected returning 'run')