JSONDecodeError using Google Translate API with Python3

前端 未结 2 1790
既然无缘
既然无缘 2020-12-06 12:23

I\'ve searched thoroughly on Stack Overflow but couldn\'t find an answer to this problem. I\'m trying to use the Google Translate API (googletrans 2.2.0) for Python (3.6.2)

2条回答
  •  抹茶落季
    2020-12-06 13:09

    You have to stop using googletrans until they fix it, and use translate instead :

    https://pypi.org/project/translate/

提交回复
热议问题