lushan88a / google_trans_new

A free and unlimited python API for google translate.
MIT License
393 stars 170 forks source link

bug fix : json.decoder.JSONDecodeError #37

Closed sayonari closed 3 years ago

sayonari commented 3 years ago

https://github.com/lushan88a/google_trans_new/issues/36 I checked this issues and fix the source.

Line 151 and 233:

response = (decoded_line + ']')
to
response = (decoded_line)
TsunayoshiSawada commented 3 years ago

This is affecting a huge amount of bots/users and I wonder why no one has merged this until now. Bumping this due to its severe urgency