autosub
autosub copied to clipboard
Using https speech-to-text api instead of http
According to this repo google-speech-v2 and my test, it is ok to change the api url into the https' one. There's no influence on the recognition result. And https is safer than http. And I also add a fall back argument to choose http or https version url to use.
-htp, --http-speech-to-text-api Change the speech-to-text api url into the http one