py-googletranslation
py-googletranslation copied to clipboard
JSONDecodeError: Expecting ',' delimiter during bulk translation
Describe the bug During the translation of the japanese equivalent of quotes (「」), an exception is thrown over the decoding of the http response.
To Reproduce Steps to reproduce the behavior: Run these in a python console
from pygoogletranslation import Translator
translator = Translator()
translator.translate('「」',src="ja",dest="en")
Expected behavior A translated object containing quotation marks is returned
Desktop (please complete the following information):
- OS: Windows 10
- Version 2.0.4
Additional context Most likely the quotation marks aren't being properly escaped during JSON decoding
I am having the same issue are there any solutions yet?