6/25/2023 0 Comments Tor expert bundle launch on portTorBrowserDriver does not download Tor Browser Bundle (TBB) for you. import mon as cm from tbselenium.tbdriver import TorBrowserDriver from tbselenium.utils import launch_tbb_tor_with_stem tbb_dir = "/path/to/TorBrowserBundle/" tor_process = launch_tbb_tor_with_stem ( tbb_path = tbb_dir ) with TorBrowserDriver ( tbb_dir, tor_cfg = cm. It will not use the tor installed on your system. The following will start a new tor process using Stem. get ( '' ) Using with Stemįirst, make sure you have Stem installed ( pip install stem). from tbselenium.tbdriver import TorBrowserDriver with TorBrowserDriver ( "/path/to/TorBrowserBundle/" ) as driver : driver. Tor needs to be installed ( apt install tor) and running on port 9050. Make sure you install version v0.23.0 version or newer older versions may not be compatible with the current Tor Browser series. Install geckodriver from the geckodriver releases page. If your bridge is now running, check out the post-install notes.A Python library to automate Tor Browser with Selenium. If you are having trouble setting up your bridge, have a look at our help section. Self-testing indicates your ORPort is reachable from the outside. (this may take up to 20 minutes - look for log messages indicating success) Now checking whether ORPort :3818 is reachable. Looks like client functionality is working. Registered server transport 'obfs4' at ':46396' Your Tor bridge's hashed identity key fingerprint is ' ' To confirm your bridge is running with no issues, you should see something like this (usually in /var/log/syslog or run # journalctl -e -u Your Tor server's identity key fingerprint is ' ' Or restart it if it was running already, so configurations take effect: # systemctl restart tor.service You can use our reachability test to see if your obfs4 port is reachable from the Internet.Įnable and Start tor: # systemctl enable -now tor.service If your bridge is behind a firewall or NAT, make sure to open both ports.
0 Comments
Leave a Reply. |