-
Notifications
You must be signed in to change notification settings - Fork 60
ReversoTranslator BUG #96
Copy link
Copy link
Open
Description
ReversoTranslator is bugged as when words like única are getting passed in the source text field, it throws error: requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
Here is a piece of code to replicate:
from translatepy.translators.reverso import ReversoTranslate
translator = ReversoTranslate()
text = 'Una manera única de conseguir la victoria\n\nJonesyTheGoat'
t = translator.translate(text, 'Italian')
print(t)
Note how if you remove única, it works great. Somehow it throw error even if you replace the ú with a normal u. No idea why, @Animenosekai thanks in advance <3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels