Python Google Translate API error

前端 未结 2 1163
春和景丽
春和景丽 2020-12-21 08:39

I am very to new to python and trying to translate a bunch of keywords using google API. I have an excel file with 3000 keywords which are mix of english, spanish, german et

2条回答
  •  别那么骄傲
    2020-12-21 09:28

    Normally this error is due to the character limit of 15K in Googletrans API.

    JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    Consider reducing the number of characters.

提交回复
热议问题