Skip to content

ReversoTranslator BUG #96

@reddere

Description

@reddere

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions