I'm using TOR proxy to connect to Twython. But I saw that when I use a false ip:port
like 666.666.666.666:666666
it still connects. So, how I can ensure/assert that I'm connected behind the proxy while using twython ?
from twython import Twython
client_args = {
'proxies': {
'socks5': '666.666.666.666:666666', # My TOR is 127.0.0.1:9000
},
'timeout': 300,
}
twitter = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN,
OAUTH_TOKEN_SECRET, client_args=client_args)
I also tried listening port 9000 with sudo tcpflow -i any -C -J port 9000
but it gets traffic when I'm not running twython too... so it's unconclusive.