how to use two level proxy setting in Python?

前端 未结 2 1021
执笔经年
执笔经年 2021-01-05 16:52

I am working on web-crawler [using python].

Situation is, for example, I am behind server-1 and I use proxy setting to connect to the Outside world. So in Python, us

2条回答
  •  迷失自我
    2021-01-05 17:43

    I recommend you take a look at CherryProxy. It lets you send a proxy request to an intermediate server (where CherryProxy is running) and then forward your HTTP request to a proxy on a second level machine (e.g. squid proxy on another server) for processing. Viola! A two-level proxy chain.

    http://www.decalage.info/python/cherryproxy

提交回复
热议问题