集成R和Python以获得相同的电路

好的,我的问题很简单:

I want to use Python to make automated requests with stem(or any other library which interacts with Tor) and then use the same circuit that I used for automation in Python in the Tor Browser for manual work e.g. filling forms or captchas.

我知道周围杂乱无章,但我还是很困惑。

So the part I am stuck is getting the same circuit: I know you can use Tor with TOR_TRANSPROXY and TOR_SKIP_LAUNCH, but what should do to allow the circuit made in Python with stem to work with on the Tor Browser?

The only workaround I see is to create a proxy in Python, then route it through the OS proxy settings and then using Tor with TOR_TRANSPROXY and TOR_SKIP_LAUNCH get the same circuit, but again its too messy and lots of work.

Quick note, I am not required to use stem, any library that does the job would work just fine.

Does anyone know a better way to do this, if I am right it should have something to do with stem.

谢谢, 德克斯·德沃隆(Dex Devlon)。

评论