arrufat / papago

Unofficial wrapper for Naver Papago Translate
https://papago.naver.com/
Apache License 2.0
10 stars 2 forks source link

Help with latest API #1

Open scottgigante opened 4 years ago

scottgigante commented 4 years ago

Hi! I maintain a Python version of the TTS API at https://github.com/scottgigante/NaverTTS and I'm having a hard time getting the new API to work. Specifically, the URL implied (I think) by your latest commit gives a 400.

Any suggestions on how you made this work?

arrufat commented 4 years ago

Hi, sorry, I should have updated my repository... For about 2 months, NAVER changed the API and it's no longer as easy to access without a subscription... Bear in mind that to make the requests I just impersonated as a web browser to get access the service for free. But as I said, this approach does no longer work. Sorry... If you manage to make it work, please, let me know :)

scottgigante commented 3 years ago

Thanks for letting me know. It looks like the API for the new CLOVA Voice is the way to go, but it requires an API key which looks complicated.

scottgigante commented 3 years ago

Here's an option: https://dict.naver.com/api/nvoice?service=dictionary&speech_fmt=mp3&text=TEXT&speaker=SPEAKER

scottgigante commented 3 years ago

Here's my fix for TTS: https://github.com/scottgigante/NaverTTS/commit/fd98cbbf8e02fb32d020e583a1d3ce2202ec2cf1

arrufat commented 3 years ago

Oh, thank you so much, I will try it soon!