UlionTse / translators

🌏🌍🌎Translators🌎🌍🌏 is a library that aims to bring free, multiple, enjoyable translations to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
https://pypi.org/project/translators/
GNU General Public License v3.0
1.62k stars 189 forks source link

fxi proxy bug #112

Closed akynazh closed 1 year ago

akynazh commented 1 year ago

for issue #110

akynazh commented 1 year ago

After test, In python3.10.9, there is no need to fix proxy bug, but in python3.7.9, it does. So not everyone will encounter this bug.

UlionTse commented 1 year ago

@akynazh Thanks, but the initial state of requests's parameters proxies has already implemented your functionality itself. Reference link

UlionTse commented 1 year ago

@akynazh The function you provide has been available in python3.5 at least, so it should not be a python version issue, and the issue originator notes that the version is 3.10. It is possible that the problem is with requests's version in his environment. However, if the download is normal, the dependency library will be updated. So ...

akynazh commented 1 year ago

@akynazh The function you provide has been available in python3.5 at least, so it should not be a python version issue, and the issue originator notes that the version is 3.10. It is possible that the problem is with requests's version in his environment. However, if the download is normal, the dependency library will be updated. So ...

@UlionTse Thanks. I read the source code after your reply. It's my fault, I will close.