How to control tor, when use tor proxy

后端 未结 2 1712
挽巷
挽巷 2020-12-18 04:35

I\'m trying to connect to a resource using a tor, changing identity. But after the first connection attempt to change identity causes an error. Code:

import          


        
2条回答
  •  执念已碎
    2020-12-18 04:54

    Interesting. I wonder if...

    socket.socket = socks.socksocket
    

    is causing _make_socket() to get a non-standard socket, and in turn bulk. If you use PycURL instead does it work?

提交回复
热议问题