Python requests module is very slow on specific machine

后端 未结 4 991
我寻月下人不归
我寻月下人不归 2020-12-19 16:36

I\'ve experienced too slow execution of Python requests on some machines and with specific user while other tools (for instance curl) are quite fast. Strange thing is that i

4条回答
  •  佛祖请我去吃肉
    2020-12-19 17:20

    I had a similar problem... After a lot of debugging with authors, we concluded that the cause lies in proxy detection code...

    So, once I implemented this, it resolved my similar problem: requests: how to disable / bypass proxy

    Authors are aware of the problem, and they have fix in works, and it should be released soon: https://github.com/kennethreitz/requests/pull/2992 ...

    Hope it helps...

    cheers Jaka

提交回复
热议问题