[b]"How to achieve an IP change in 3 sec with Python? Any working methods?"[/b] or [b]"Is there a reliable way to

14 Replies, 1317 Views

Have you tried using a SOCKS5 proxy with `aiohttp`?

Async might get you closer to that ip change in 3 sec python goal.

```python
import aiohttp
async with aiohttp.ClientSession() as session:
async with session.get("http://example.com", proxy="socks5://user:pass@proxy:port") as resp:
print(await resp.text())
```

Faster than regular requests if you’re spamming switches.

Messages In This Thread



Users browsing this thread: 1 Guest(s)