Closed mortezanabavi closed 1 year ago
Different ports will give different ip. If you want the same ip, send requests through the same port.
How can I give range ports to the tor and use it? I want to change my IP 4000 times non-repeatedly per hour with Tor. Is it possible?
show me the code
show me the code
ports = []
for id in range(1000):
ports.append(5000 + id)
rt = RequestsTor(tor_ports=ports, autochange_id=0)
url = 'https://httpbin.org/anything'
first = rt.get(url)
print(first.text)
second = rt.get(url)
print(second.text)
Didn't understand the question. Doesn't it start? Show me the error.
Can I change the 4000 times ip? it changes just 300 IPs per hour.
I don't understand the question. Why do you need to change ip 4000 times? Show me your code where the error appears, so I can reproduce the problem.
Hi, Tor ip will change after every God damn request.