soimort / translate-shell

:speech_balloon: Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.
https://www.soimort.org/translate-shell
The Unlicense
7.01k stars 392 forks source link

The proxy specified in argument do not take effect for Text-to-Speech. #519

Open ghost opened 3 months ago

ghost commented 3 months ago

The proxy specified in argument -x HOST:PORT do not take effect for Text-to-Speech.

trans -x HOST:PORT -sp :zh translate

It can be resolved simply by set environment variable HTTP_PROXY.

env HTTP_PROXY=http://HOST:PORT trans -x HOST:PORT -sp :zh translate

Thanks for this awesome tool!