zlargon / google-tts

Google TTS (Text-To-Speech) for node.js
https://www.npmjs.com/package/google-tts-api
MIT License
279 stars 56 forks source link

fix issue for https://github.com/zlargon/google-tts/issues/33 #37

Closed freddiefujiwara closed 3 years ago

freddiefujiwara commented 3 years ago

this is urgent fix for 33 please check my code

coveralls commented 3 years ago

Coverage Status

Coverage increased (+5.3%) to 100.0% when pulling 3257da6c51d306229704286e55601e430fdebfad on freddiefujiwara:feature/fix-dec-1 into 96e85a9d7b3ac535b35e734c3996c6bafdc2b0b2 on zlargon:master.

zlargon commented 3 years ago

Hi @freddiefujiwara, thank you for the PR to implement the https://github.com/zlargon/google-tts/issues/33#issuecomment-723554295 into this library.

The new Google TTS API will return the audio base64 encoded string instead of the audio URL. According to the discussion in #33, the change in this PR might not safe, but it looks like the only thing we can do to keep the library works. (remove tk and change the client to tw-ob)