Open ghost opened 5 years ago
you need to setup Authentication to use torrequest to do this simply follow my command
sudo service tor start
tor --hash-password enter your password here
this command will genarate a password to replace this password you need to use this command
sudo nano /etc/tor/torrc
and find HashedControlPassword in torrc file and simply replace with the genarate hash password You are almost done now in your program simply define like this
with TorRequest(password='your_non_hash_password') as tr:
Thanks
When I run
I get the following error:
This is similar if I call it twice in any way, such as a while loop, for a for loop (my intent is to repeat the tor request process an infinite amount of times, while resetting the ip). How do I fix this?