Answer the question
In order to leave comments, you need to log in
Auto-update proxy when brute, how to do it?
Auto-update proxy when brute, how to do it?
Answer the question
In order to leave comments, you need to log in
1. You take a list of proxies, possibly in the form of instances of the TProxy class, which you will write first.
2. You write some simple manager, for example TProxyManager, which contains this list and gives you a proxy on request, he makes sure not to issue the same proxy twice until you send him a request, for example "unlock (proxy)".
3. In your code that wants a proxy, you send the request "proxyManager.getOne ()" to the manager, and he either gives you the proxy, or raises an exception if he could not and at the same time marks in his list that this proxy is still locked.
Well, something like this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question