錯誤
File "main.py", line 35, in <module>
main()
File "main.py", line 24, in main
result = WebCrawer_test2.Start("https://www.twgreatdaily.com/cat91",1)
File "/Users/steven/Desktop/我的SSD備份/Users/ㄋ/Desktop/備份/WebCrawer_test2.py", line 294, in Start
Start_sub(article_Ind,len(article_url))
File "/Users/steven/Desktop/我的SSD備份/Users/ㄋ/Desktop/備份/WebCrawer_test2.py", line 270, in Start_sub
create_speak(title[article_Ind-1],content[article_Ind-1],article_Ind)
File "/Users/steven/Desktop/我的SSD備份/Users/ㄋ/Desktop/備份/WebCrawer_test2.py", line 230, in create_speak
tts.save(path+"title.mp3")
File "/usr/local/lib/python3.8/site-packages/gtts/tts.py", line 312, in save
self.write_to_fp(f)
File "/usr/local/lib/python3.8/site-packages/gtts/tts.py", line 294, in write_to_fp
raise gTTSError(tts=self, response=r)
gtts.tts.gTTSError: 200 (OK) from TTS API. Probable cause: Unknown
pip install gTTS --upgrade
pip install gTTS-token --upgrade
pip3 install gTTS --upgrade
pip3 install gTTS-token --upgrade