nidhaloff / deep-translator

A flexible free and unlimited python tool to translate between different languages in a simple way using multiple translators.
https://deep-translator.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
1.61k stars 185 forks source link

SSL Error while using proxies for GoogleTranslation #245

Open Kaustubh0699 opened 1 year ago

Kaustubh0699 commented 1 year ago

Description

I wanted to do a parallel requests to the library using multiprocessing, but while doing so I encountered that my IP Address gets flagged and after some time I am not able to use the GoogleTranslation Service. So, to overcome this I tried using proxies.

But, now using my multiple proxies when I am making request I am getting following error- SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)'))

I tested the proxies they are working with python requests when the verify parameter is set to False. But giving me same error when I don't specify verify parameter, is there a provision to overcome this from the library itself? Error_SSL

chassi-nc commented 3 months ago

Need Option to Skip Ssl Verify

I already saw this issue https://github.com/nidhaloff/deep-translator/issues/185, but, many companies are let their employees using Private Certificate for in-company security reason. That's why someone need the skip verifying option. Please re-consider this.