I am trying to automate a website on a .onion site using PhantomJS and Tor. Does anyone have any idea how to connect to the network?
Tor client creates a local socks proxy server at 127.0.0.1:9050
Therefore you should start PhantomJS pointing it to that proxy:
phantomjs --proxy-type=socks5 --proxy=127.0.0.1:9050 script.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With