Yo! For an ip change in 3 sec python, you might wanna check out Tor + Stem library.
It’s not exactly 3 sec, but close enough if you tweak it.
Here’s a quick snippet:
```python
from stem import Signal
from stem.control import Controller
with Controller.from_port(port=9051) as controller:
controller.authenticate()
controller.signal(Signal.NEWNYM)
```
You’ll need Tor running tho. Not the simplest, but it works!
It’s not exactly 3 sec, but close enough if you tweak it.
Here’s a quick snippet:
```python
from stem import Signal
from stem.control import Controller
with Controller.from_port(port=9051) as controller:
controller.authenticate()
controller.signal(Signal.NEWNYM)
```
You’ll need Tor running tho. Not the simplest, but it works!
